Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/rmaguiar/hugo-theme-color-your-world.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrmaguiar <rmaguiar@tuta.io>2020-07-18 22:50:17 +0300
committerrmaguiar <rmaguiar@tuta.io>2020-07-18 22:50:17 +0300
commit2bb302af15de5877cec0b113ddd46050bb4721cd (patch)
treef4e88caf6701f3a6ebd9e26b441aab61f3642b5d /layouts/404.html
parente48e3b4f03e5af5675099c7136633e49012169a8 (diff)
Use SVG files as inline elements and minor changes
* Change: Use SVG files as inline elements * Improve assets organization * Improve accessibility on search layout * Reduce Scratch usage by using a data file and dict function * Other minor changes
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/404.html b/layouts/404.html
index 44e7d29..9de2956 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,8 +1,8 @@
{{ define "main" }}
<main>
- <h1>{{ .Site.Params.notFound.title }}</h1>
- <p>{{ .Site.Params.notFound.text }}</p>
+ <h1>{{ .Site.Params.notFound.title | default .Site.Data.default.notFound.title }}</h1>
+ <p>{{ .Site.Params.notFound.paragraph | default .Site.Data.default.notFound.paragraph }}</p>
</main>
{{ end }}