2017-08-27 14:38:42 +00:00
|
|
|
{{ define "title" }}404 page not found - {{ .Site.Title }}{{ end }}
|
|
|
|
|
|
|
|
{{ define "content" }}
|
|
|
|
<div class="not-found">
|
|
|
|
<h1 class="error-emoji"></h1>
|
|
|
|
<p class="error-text">/* 404 page not found. */</p>
|
2018-01-30 13:26:46 +00:00
|
|
|
<p class="error-link"><a href="{{ "/" | relLangURL }}">↑ Back Home ↑</a></p>
|
2017-08-27 14:38:42 +00:00
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
var errorEmojiContainer = document.getElementsByClassName('error-emoji')[0];
|
|
|
|
var emojiArray = [
|
|
|
|
'\\(o_o)/', '(o^^)o', '(˚Δ˚)b', '(^-^*)', '(≥o≤)', '(^_^)b', '(·_·)',
|
|
|
|
'(=\'X\'=)', '(>_<)', '(;-;)', '\\(^Д^)/',
|
|
|
|
];
|
|
|
|
var errorEmoji = emojiArray[Math.floor(Math.random() * emojiArray.length)];
|
|
|
|
errorEmojiContainer.appendChild(document.createTextNode(errorEmoji));
|
|
|
|
</script>
|
|
|
|
{{ end }}
|