mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
Merge pull request #271 from berryp/issue/404-has-invalid-html
Fix invalid HTML in 404 template.
This commit is contained in:
commit
ec48c61329
1 changed files with 2 additions and 4 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue