Files
HugoBlox-kit/layouts/404.html
T
George Cushen a622c8d19f refactor(talk): rename date options in front matter
date, time_start, time_end renamed to publishDate, date, date_end,
respectively.

BREAKING CHANGES: Rename above 3 options in front matter of all talks.

Also, refactor the 404 page so that it just lists the latest 10 pages
overall. This is a more flexible approach than separately listing the
latest pages for only a few different types of content.

See #721
2019-02-27 21:48:16 +00:00

22 lines
519 B
HTML

{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<div class="container">
<h1>{{ i18n "page_not_found" }}</h1>
<p>{{ i18n "404_recommendations" }}</p>
{{ $query := .Site.RegularPages }}
{{ $count := len $query }}
{{ if gt $count 0 }}
<h2>{{ i18n "user_profile_latest" }}</h2>
{{ range first 10 $query }}
<ul>
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
</ul>
{{ end }}
{{ end }}
</div>
{{ partial "footer_container.html" . }}
{{ partial "footer.html" . }}