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:
authorfncnt <github@vncnt.eu>2019-03-06 18:42:46 +0300
committerfncnt <github@vncnt.eu>2019-03-06 18:42:46 +0300
commit55082808aad60ae9a52cce58a0c484a3d7d1e22c (patch)
treead70ad912910a7a859b5f7c5f06cbee44bd52064
parentdc9c5aa57b47f886277245852a785d91a3c93223 (diff)
Adjust error404 layout
-rw-r--r--layouts/404.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/layouts/404.html b/layouts/404.html
index 7d166cf..1c3776d 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,10 +1,11 @@
<!DOCTYPE HTML>
{{ partial "includes" . }}
- <div class="error404 autocenter">
+ <div class="error404">
+ <h1>{{ "**404**" | markdownify }}</h1>
{{ with .Site.Params.error404 }}
- <h2>{{ . | markdownify }}</h2>
+ <h2>{{ "---" | markdownify }}{{ . | markdownify }}</h2>
{{ else }}
- <h2>{{ "404 -- There is no such page." | markdownify}}</h2>
+ <h2>{{ "---" | markdownify }}{{ "There is no such page." | markdownify}}</h2>
{{ end }}
</div>
</html>