2020-01-31 22:53:04 +08:00
|
|
|
{{- define "title" }}
|
2020-05-18 16:10:24 +08:00
|
|
|
{{- T "pageNotFound" | printf "404 %v" }} - {{ .Site.Title -}}
|
2020-01-31 22:53:04 +08:00
|
|
|
{{- end -}}
|
2019-08-23 02:01:22 +08:00
|
|
|
|
2020-01-31 18:46:28 +08:00
|
|
|
{{- define "content" -}}
|
2020-02-14 01:30:33 +08:00
|
|
|
<div class="page" id="content-404">
|
2020-02-03 18:38:10 +08:00
|
|
|
<h1 id="error-emoji"></h1>
|
2020-01-31 18:46:28 +08:00
|
|
|
<p class="error-text">
|
2020-02-02 18:18:06 +08:00
|
|
|
{{- T "pageNotFoundText" -}}
|
2020-04-26 23:00:29 +08:00
|
|
|
<a href="javascript:void(0);" title="{{ T `back` }}" onclick="window.history.back();"><i class="far fa-hand-point-left fa-fw"></i></a>
|
2020-01-31 18:46:28 +08:00
|
|
|
</p>
|
2019-08-02 16:16:59 +08:00
|
|
|
</div>
|
2020-04-15 15:46:50 +08:00
|
|
|
<script type="text/javascript">
|
|
|
|
(function() {
|
2020-04-26 23:00:29 +08:00
|
|
|
var emojiArray = ['\\(o_o)/', '(˚Δ˚)b', '(^-^*)', '(≥o≤)', '(^_^)b', '(·_·)','(=\'X\'=)', '(>_<)', '(;-;)'];
|
2020-04-15 15:46:50 +08:00
|
|
|
document.getElementById('error-emoji').appendChild(document.createTextNode(emojiArray[Math.floor(Math.random() * emojiArray.length)]));
|
|
|
|
})();
|
2019-08-02 16:16:59 +08:00
|
|
|
</script>
|
2020-02-07 00:10:00 +08:00
|
|
|
{{- end -}}
|