mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-25 01:05:07 +01:00
commit
8b08502c29
19
layouts/404.html
Normal file
19
layouts/404.html
Normal file
@ -0,0 +1,19 @@
|
||||
{{ define "main" }}
|
||||
<div class="post">
|
||||
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
|
||||
<div class="post-content">
|
||||
<p>{{ "Hmm... Sorry, this page seems to be missing." | markdownify }}
|
||||
{{ if .Site.Taxonomies.tags }}
|
||||
{{ "Maybe these tags will help you find what you're looking for. :smile:" | markdownify | emojify }}</p>
|
||||
<h2>Tags</h2>
|
||||
<div class="terms">
|
||||
<ul class="terms__list">
|
||||
{{ range .Site.Taxonomies.tags }}
|
||||
<li class="terms__term"><a href="{{ .Page.Permalink }}">#{{ .Page.Title }}</a><span class="terms__term-count">{{ .Count }}</span></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Reference in New Issue
Block a user