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

github.com/wlh320/hugo-theme-hulga.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html26
1 files changed, 9 insertions, 17 deletions
diff --git a/layouts/404.html b/layouts/404.html
index d6499a9..c274bb2 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -4,23 +4,15 @@
<body>
<div id="main">
- <!-- {{- partial "nav.html" . -}} -->
- <!-- {{- partial "header.html" . -}} -->
- {{- block "404-main" . }}{{- end }}
+ <article class="message is-primary is-large">
+ <div class="message-header">
+ <p>404 Page Not Found</p>
+ </div>
+ <div class="message-body">
+ <p>{{ i18n "404-info" }}</p>
+ </div>
+ </article>
</div>
- <!-- {{- partial "footer.html" . -}} -->
- <!-- {{- partial "backtotop.html" . -}} -->
- <!-- {{- block "script" . }}{{- end }} -->
</body>
-</html>
-{{ define "404-main" }}
-<article class="message is-primary is-large">
- <div class="message-header">
- <p>404 Page Not Found</p>
- </div>
- <div class="message-body">
- <p>{{ i18n "404-info" }}</p>
- </div>
-</article>
-{{ end }}
+</html> \ No newline at end of file