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"
|
other = "Security Advisories and Errata Notices RSS Feed"
|
||||||
|
|
||||||
#404
|
#404
|
||||||
|
[pageNotFound]
|
||||||
|
other = "Page not found."
|
||||||
|
|
||||||
[notFoundTitle]
|
[notFoundTitle]
|
||||||
other = "We could not find the page you requested."
|
other = "We could not find the page you requested."
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,15 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<article>
|
<div id="content">
|
||||||
<h2>Oh no. :(</h2>
|
<div id="sidewrap">
|
||||||
<p>{{ i18n "notFoundTitle" }}</p>
|
<div id="sidenav">
|
||||||
<p>{{ i18n "notFoundDesc" }}</p>
|
{{ partial "sidenav.html" (dict "sidenavType" "about" "data" .Site.Data "language" $.Site.Language.Lang ) }}
|
||||||
</article>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="contentwrap">
|
||||||
|
<h1>{{ i18n "pageNotFound" }}</h1>
|
||||||
|
<h2>Oh no. :(</h2>
|
||||||
|
<p>{{ i18n "notFoundTitle" }}</p>
|
||||||
|
<p>{{ i18n "notFoundDesc" }}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue