diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-11-09 17:49:27 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-11-09 17:49:27 +0100 |
commit | 4a826ff2748eafdbf63dd0547706ed7dc7ed3d76 (patch) | |
tree | 17b3f45d8b750d7fbd1de718e87fdcbfa44e7e5a /layouts/404.html | |
parent | 76b72515b6d8078268077bd9d96db493fb7bd6f8 (diff) | |
download | hugo-minimalist-theme-4a826ff2748eafdbf63dd0547706ed7dc7ed3d76.tar.gz hugo-minimalist-theme-4a826ff2748eafdbf63dd0547706ed7dc7ed3d76.tar.bz2 hugo-minimalist-theme-4a826ff2748eafdbf63dd0547706ed7dc7ed3d76.zip |
Search page
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 }} |