From 113d4e53416ddf42212da6f217670bdc6f0c9dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sat, 1 Jan 2022 21:03:20 +0100 Subject: Import new minimalist design --- layouts/404.html | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) (limited to 'layouts/404.html') diff --git a/layouts/404.html b/layouts/404.html index c2f0c31..eada35e 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,17 +1,28 @@ -{{ define "main" }} -
-
-

404

-

Sorry, we can't find the page you are looking for.

-
+{{ define "main"}} +
-

Are you looking for one of these?

+

Page not found

+ + {{/* Suggest recently published pages to the user. */}} + +

Perhaps you were looking for one of these?

+ + {{ $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 }} +

{{ i18n "user_profile_latest" }}

+ + {{ end }} -
- {{ range .Site.Menus.main }} - - {{ .Pre }} {{ .Name }} - {{ end }} -
+ {{ end }} -- cgit v1.2.3