Skip to content
Snippets Groups Projects
Commit a42f78e2 authored by FONTCHASTAGNER Julien's avatar FONTCHASTAGNER Julien
Browse files

Delete 404.html car inutile

parent 3dd4a07d
No related branches found
No related tags found
No related merge requests found
{{ define "header" }}<!-- No header on 404 pages -->{{ end }}
{{ define "main" }}
<div role="main" class="container main-content">
<div class="text-center">
<h1 class="error-emoji"></h1>
<p class="error-text">{{ i18n "pageNotFound" }}</p>
<h3>You should go to the <a href="{{ "" | absURL }}">home page</a></h3>
</div>
</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 }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment