Added localization support

This commit is contained in:
Giuseppe Pignataro 2019-02-25 18:50:56 +01:00
parent 180f272e6e
commit c873495130

View file

@ -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];