Added localization support
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{{ define "content" }}
|
||||
<div class="notfound">
|
||||
<h1 class="error-emoji"></h1>
|
||||
<p class="error-text">/* 404 page not found. */</p>
|
||||
<p class="error-link"><a href="{{ .Site.BaseURL }}">↑ Back to Home ↑</a></p>
|
||||
<p class="error-text">/* 404 {{ i18n "page" }} {{ i18n "not" }} {{ i18n "found" }}. */</p>
|
||||
<p class="error-link"><a href="{{ .Site.BaseURL }}">↑ {{ i18n "Back" }} {{ i18n "to" }} {{ i18n "Home" }} ↑</a></p>
|
||||
</div>
|
||||
<script>
|
||||
var errorEmojiContainer = document.getElementsByClassName('error-emoji')[0];
|
||||
|
||||
Reference in New Issue
Block a user