mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-09 14:59:45 +00:00
084f8cb2c3
* fix: wrong lang attribute in multilingual mode - baseof.html * fix: rss link in multilingual mode - footer.html * fix: wrong tags, categories, home link in multilingual mode - other files ... This relates to #25
18 lines
707 B
HTML
18 lines
707 B
HTML
{{ 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>
|
|
<p class="error-link"><a href="{{ "/" | relLangURL }}">↑ Back Home ↑</a></p>
|
|
</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 }}
|