1 Star 0 Fork 0

Halo / halo-theme-KeepIt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
404.ftl 800 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
Ryan Wang 提交于 2020-03-25 17:56 . require 1.3.0
<#include "layouts/_default/baseof.ftl">
<@baseof title="404 | ${blog_title!}" canonical="${blog_url!}/404">
<div class="notfound">
<h1 class="error-emoji"></h1>
<p class="error-text">/* 404 页面未找到. */</p>
<p class="error-link"><a href="${blog_url!}">↑ 返回到主页 ↑</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>
</@baseof>
CSS
1
https://gitee.com/halo-dev/halo-theme-KeepIt.git
git@gitee.com:halo-dev/halo-theme-KeepIt.git
halo-dev
halo-theme-KeepIt
halo-theme-KeepIt
master

搜索帮助

14c37bed 8189591 565d56ea 8189591