Fix the format in the 404 page
This commit is contained in:
parent
e9743c8ea5
commit
f4e135b800
2 changed files with 16 additions and 5 deletions
|
@ -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."
|
||||
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
{{ define "main" }}
|
||||
<article>
|
||||
<h2>Oh no. :(</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. :(</h2>
|
||||
<p>{{ i18n "notFoundTitle" }}</p>
|
||||
<p>{{ i18n "notFoundDesc" }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue