diff options
author | Mathieu Cornic <mathieu.cornic@gmail.com> | 2019-06-06 15:07:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-06 15:07:37 +0300 |
commit | ec48c61329b2d9facab22d311e0481dd1bfbb97a (patch) | |
tree | 0c824c79ae08d61cca3ec5b3129ca53225bda4e6 /layouts | |
parent | 1e3c00d2bb592e9d0f3c4207a4fa0a83e1662b67 (diff) | |
parent | 85711377a93d210bedd32ce2f7c2cf3829be2227 (diff) |
Merge pull request #271 from berryp/issue/404-has-invalid-html
Fix invalid HTML in 404 template.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/404.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/404.html b/layouts/404.html index ff46587..661db17 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -4,7 +4,7 @@ <head> <meta charset="utf-8"> {{ partial "meta.html" . }} {{ partial "favicon.html" . }} {{ .Scratch.Add "title" "" }}{{ if eq .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}} <title>{{ .Scratch.Get "title" }}</title> - + {{ $assetBusting := not .Site.Params.disableAssetsBusting }} <link href="{{"css/nucleus.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet"> <link href="{{"css/fontawesome-all.min.css" | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet"> @@ -34,8 +34,6 @@ {{ partial "custom-header.html" . }} </head> -<body> - <body class="" data-url="/"> <section id="body" style="margin-left:0px;"> @@ -48,7 +46,7 @@ <p>{{T "message-404"}}</p> <p></p> <p><a href='{{ "" | relLangURL }}'>{{T "Go-to-homepage"}}</a></p> - <p><img src='{{ "/images/gopher-404.jpg" | relURL }}' style="width:50%" alt="Page not found!"></img></p> + <p><img src='{{ "/images/gopher-404.jpg" | relURL }}' style="width:50%" alt="Page not found!"></p> </div> </div> |