mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-08 12:14:31 +00:00
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
22 lines
519 B
HTML
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" . }}
|