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

github.com/yursan9/manis-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYurizal Susanto <rizal.sagi@gmail.com>2017-07-01 14:02:21 +0300
committerYurizal Susanto <rizal.sagi@gmail.com>2017-07-01 14:02:21 +0300
commit4268f4b6839889fb7663db20ac77ec2f2564a7fd (patch)
tree67bc8f7f89bc34f4bbcab3f45b289fbace1025d9 /layouts
parentd733d3da2037dba3c5c15f5a787aab399f730930 (diff)
Make 404 error centered on page
Diffstat (limited to 'layouts')
-rw-r--r--layouts/404.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/layouts/404.html b/layouts/404.html
index 9ed9e9b..edb9439 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -2,9 +2,11 @@
<html lang="{{.Language}}">
{{ partial "meta" . }}
<body>
- <hgroup id="brand">
- <h1>{{ .Site.Params.Head404 }}</h1>
- <h5>{{ .Site.Params.Sub404 }}</h5>
- </hgroup>
+ <div class="container u-header">
+ <hgroup id="brand">
+ <h1>{{ .Site.Params.Head404 | safeHTML }}</h1>
+ <h5>{{ .Site.Params.Sub404 | safeHTML }}</h5>
+ </hgroup>
+ </div>
</body>
</html>