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

github.com/fncnt/vncnt-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.toml2
-rw-r--r--layouts/404.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/config.toml b/config.toml
index 1fe61f8..f4ab22e 100644
--- a/config.toml
+++ b/config.toml
@@ -29,7 +29,7 @@ title = "John Doe · Landing Page"
bio = "First Row. \nSecond Row."
avatar = "img/avatar.jpg"
favicon = "img/favicon.ico"
- error404 = "404 – There is no such page."
+ error404 = "404 -- There is no such page."
[params.contact]
github = "https://github.com/jdoe"
diff --git a/layouts/404.html b/layouts/404.html
index 0989339..3f9a6c7 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -2,9 +2,9 @@
{{ partial "includes" . }}
<div class="error404">
{{ with .Site.Params.error404 }}
- <h2>{{ . }}</h2>
+ <h2>{{ . | markdownify }}</h2>
{{ else }}
- <h2>404 – There is no such page.</h2>
+ <h2>{{ "404 -- There is no such page." | markdownify}}</h2>
{{ end }}
</div>
</html>