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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-06-27 03:10:46 +0300
committerHanzei <hanzei@mailbox.org>2018-06-27 03:31:18 +0300
commit389a69a6e71228b536af28776156fda30d22e217 (patch)
tree8ddc2bca6c5abbd5d3e40f8383e46de8a8ad028b /layouts/404.html
parentc555b2b52c149aa8bd083b670583e4b3bb963f10 (diff)
Add Multilingual support
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/404.html b/layouts/404.html
index d161297..c70b17e 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -4,7 +4,9 @@
<div class="section" id="top">
<!-- Begin Title -->
<div class="container hero is-medium has-text-centered {{ if .Site.Params.fadeIn }} fade-in one {{ end }}">
- <h1 class="bold-title is-1">404</h1>
+ <h1 class="bold-title is-1">
+ {{ i18n "404_title" . }}
+ </h1>
</div>
<!-- End Title -->
<!-- Everything below fades in two! -->
@@ -12,7 +14,7 @@
{{ partial "nav.html" . }}
<!-- Begin blurb -->
<div class="container {{ if .Site.Params.fadeIn }} fade-in two {{ end }} top-pad">
- Oops! Either you've found a bug (in which case, <a href="mailto:{{ .Site.Params.email }}">please tell me</a>) or you're just making things up. This page doesn't exist!
+ {{ i18n "404_description" . | markdownify }}
</div>
<!-- End blurb -->
<div class="container top-pad">