Fix invalid HTML in 404 template.

Fixes https://github.com/matcornic/hugo-theme-learn/issues/270
This commit is contained in:
Berry Phillips 2019-04-12 09:21:59 +09:00
parent 18212e6759
commit 85711377a9

View file

@ -35,8 +35,6 @@
{{ partial "custom-header.html" . }} {{ partial "custom-header.html" . }}
</head> </head>
<body>
<body class="" data-url="/"> <body class="" data-url="/">
<section id="body" style="margin-left:0px;"> <section id="body" style="margin-left:0px;">
@ -49,7 +47,7 @@
<p>{{T "message-404"}}</p> <p>{{T "message-404"}}</p>
<p></p> <p></p>
<p><a href='{{ "" | relLangURL }}'>{{T "Go-to-homepage"}}</a></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>
</div> </div>