From 85711377a93d210bedd32ce2f7c2cf3829be2227 Mon Sep 17 00:00:00 2001 From: Berry Phillips Date: Fri, 12 Apr 2019 09:21:59 +0900 Subject: [PATCH] Fix invalid HTML in 404 template. Fixes https://github.com/matcornic/hugo-theme-learn/issues/270 --- layouts/404.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/layouts/404.html b/layouts/404.html index 4904b31cd1c..41e20d15672 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -4,7 +4,7 @@ {{ 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}} {{ .Scratch.Get "title" }} - + {{ $assetBusting := not .Site.Params.disableAssetsBusting }} @@ -35,8 +35,6 @@ {{ partial "custom-header.html" . }} - -
@@ -49,7 +47,7 @@

{{T "title-404"}}

{{T "message-404"}}

{{T "Go-to-homepage"}}

-

Page not found!

+

Page not found!