From: danix Date: Fri, 3 Mar 2023 08:48:09 +0000 (+0100) Subject: improved styling of 404 page. X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=08fc65de733b48748ac2951b89ac11b1014aee23;p=theme-danix.xyz.git improved styling of 404 page. --- diff --git a/assets/sass/layout/_banner.scss b/assets/sass/layout/_banner.scss index 1470f92..c41cbdd 100644 --- a/assets/sass/layout/_banner.scss +++ b/assets/sass/layout/_banner.scss @@ -8,7 +8,7 @@ #banner { @include vendor('align-items', 'center'); - @include vendor('background-image', 'url("../bg/bg2.jpg")'); + @include vendor('background-image', 'url("../img/bg2.jpg")'); @include vendor('display', 'flex'); @include padding(4em, 0, (2em, 0, 0, 0)); background-attachment: fixed; diff --git a/layouts/404-baseof.html b/layouts/404-baseof.html index 514e43e..bf84105 100644 --- a/layouts/404-baseof.html +++ b/layouts/404-baseof.html @@ -1,22 +1,33 @@ {{- partial "head.html" . -}} - -
- + + +
{{- partial "header.html" . -}} -
-
-
- {{- block "404-main" . }}{{- end }} -
-
- + {{- partial "footer-addition.html" . -}} diff --git a/layouts/404.html b/layouts/404.html index e3bac5e..634f210 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,7 +1,14 @@ {{ define "404-main" }} -
-
- These aren't the droids you're looking for. -
-
+
+ nothing found we have. mmmmh... + +
+
+

Nothing found we have. mmmh... Perhaps the archives we should check.

+ +
+
+
{{ end }} diff --git a/static/bg/bg2.jpg b/static/img/bg2.jpg similarity index 100% rename from static/bg/bg2.jpg rename to static/img/bg2.jpg diff --git a/static/img/yoda.jpg b/static/img/yoda.jpg new file mode 100644 index 0000000..01f216e Binary files /dev/null and b/static/img/yoda.jpg differ