diff options
Diffstat (limited to 'layouts/404.html')
-rw-r--r-- | layouts/404.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/layouts/404.html b/layouts/404.html index c375edb..af1122f 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -5,14 +5,12 @@ <div class="mw7 center ph1 mv4"> <h1 class="f1 tc title baskerville">{{ .Title }}</h1> - <h2 class="lh-title f3 baskerville"> - Perhaps you were looking for one of these? - </h2> + <p class="f4 baskerville">Perhaps you were looking for one of these?</p> {{ $query := where (where (where (where site.RegularPages.ByDate.Reverse "Title" "!=" "") "Kind" "in" (slice "page" "section")) "Params.private" "!=" true) "Permalink" "!=" "" }} {{ $count := len $query }} {{ if gt $count 0 }} - <h2 class="lh-title f2 baskerville">Pages recently edited</h2> + <h3 class="lh-title f3 baskerville">Pages recently edited</h3> <ul class="list ph5"> {{ range first 10 $query }} @@ -32,5 +30,11 @@ {{ end }} </ul> {{ end }} + <a href="/search" class="link color-inherit dim"> + <h3 class="lh-title f3 baskerville"> + <i class="fas fa-magnifying-glass"></i> + Not there? Try using the search page. + </h3> + </a> </div> {{ end }} |