Fix the format in the 404 page

This commit is contained in:
Sergio Carlavilla Delgado 2021-01-27 20:50:26 +01:00
parent e9743c8ea5
commit f4e135b800
2 changed files with 16 additions and 5 deletions
website/themes/beastie
i18n
layouts

View file

@ -243,6 +243,9 @@ other = "News RSS Feed"
other = "Security Advisories and Errata Notices RSS Feed"
#404
[pageNotFound]
other = "Page not found."
[notFoundTitle]
other = "We could not find the page you requested."

View file

@ -1,7 +1,15 @@
{{ define "main" }}
<article>
<h2>Oh no.&nbsp;:(</h2>
<p>{{ i18n "notFoundTitle" }}</p>
<p>{{ i18n "notFoundDesc" }}</p>
</article>
<div id="content">
<div id="sidewrap">
<div id="sidenav">
{{ partial "sidenav.html" (dict "sidenavType" "about" "data" .Site.Data "language" $.Site.Language.Lang ) }}
</div>
</div>
<div id="contentwrap">
<h1>{{ i18n "pageNotFound" }}</h1>
<h2>Oh no.&nbsp;:(</h2>
<p>{{ i18n "notFoundTitle" }}</p>
<p>{{ i18n "notFoundDesc" }}</p>
</div>
</div>
{{ end }}