-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bba3c89
commit c3297c6
Showing
14 changed files
with
330 additions
and
59 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>页面未找到 | kangkang</title><meta name="author" content="烟雨"><meta name="copyright" content="烟雨"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta property="og:type" content="website"> | ||
<meta property="og:title" content="kangkang"> | ||
<meta property="og:url" content="https://dabaizhijia.github.io.git/404.html"> | ||
<meta property="og:site_name" content="kangkang"> | ||
<meta property="og:locale" content="zh_CN"> | ||
<meta property="og:image" content="https://dabaizhijia.github.io.git/img/butterfly-icon.png"> | ||
<meta property="article:author" content="烟雨"> | ||
<meta name="twitter:card" content="summary"> | ||
<meta name="twitter:image" content="https://dabaizhijia.github.io.git/img/butterfly-icon.png"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://dabaizhijia.github.io.git/404.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css"><script> | ||
(() => { | ||
|
||
const saveToLocal = { | ||
set: (key, value, ttl) => { | ||
if (!ttl) return | ||
const expiry = Date.now() + ttl * 86400000 | ||
localStorage.setItem(key, JSON.stringify({ value, expiry })) | ||
}, | ||
get: key => { | ||
const itemStr = localStorage.getItem(key) | ||
if (!itemStr) return undefined | ||
const { value, expiry } = JSON.parse(itemStr) | ||
if (Date.now() > expiry) { | ||
localStorage.removeItem(key) | ||
return undefined | ||
} | ||
return value | ||
} | ||
} | ||
|
||
window.btf = { | ||
saveToLocal, | ||
getScript: (url, attr = {}) => new Promise((resolve, reject) => { | ||
const script = document.createElement('script') | ||
script.src = url | ||
script.async = true | ||
Object.entries(attr).forEach(([key, val]) => script.setAttribute(key, val)) | ||
script.onload = script.onreadystatechange = () => { | ||
if (!script.readyState || /loaded|complete/.test(script.readyState)) resolve() | ||
} | ||
script.onerror = reject | ||
document.head.appendChild(script) | ||
}), | ||
getCSS: (url, id) => new Promise((resolve, reject) => { | ||
const link = document.createElement('link') | ||
link.rel = 'stylesheet' | ||
link.href = url | ||
if (id) link.id = id | ||
link.onload = link.onreadystatechange = () => { | ||
if (!link.readyState || /loaded|complete/.test(link.readyState)) resolve() | ||
} | ||
link.onerror = reject | ||
document.head.appendChild(link) | ||
}), | ||
addGlobalFn: (key, fn, name = false, parent = window) => { | ||
if (!false && key.startsWith('pjax')) return | ||
const globalFn = parent.globalFn || {} | ||
globalFn[key] = globalFn[key] || {} | ||
globalFn[key][name || Object.keys(globalFn[key]).length] = fn | ||
parent.globalFn = globalFn | ||
} | ||
} | ||
|
||
|
||
const activateDarkMode = () => { | ||
document.documentElement.setAttribute('data-theme', 'dark') | ||
if (document.querySelector('meta[name="theme-color"]') !== null) { | ||
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d') | ||
} | ||
} | ||
const activateLightMode = () => { | ||
document.documentElement.setAttribute('data-theme', 'light') | ||
if (document.querySelector('meta[name="theme-color"]') !== null) { | ||
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff') | ||
} | ||
} | ||
|
||
btf.activateDarkMode = activateDarkMode | ||
btf.activateLightMode = activateLightMode | ||
|
||
const theme = saveToLocal.get('theme') | ||
|
||
theme === 'dark' ? activateDarkMode() : theme === 'light' ? activateLightMode() : null | ||
|
||
|
||
const asideStatus = saveToLocal.get('aside-status') | ||
if (asideStatus !== undefined) { | ||
document.documentElement.classList.toggle('hide-aside', asideStatus === 'hide') | ||
} | ||
|
||
|
||
const detectApple = () => { | ||
if (/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)) { | ||
document.documentElement.classList.add('apple') | ||
} | ||
} | ||
detectApple() | ||
|
||
})() | ||
</script><script>const GLOBAL_CONFIG = { | ||
root: '/', | ||
algolia: undefined, | ||
localSearch: undefined, | ||
translate: undefined, | ||
highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false,"highlightFullpage":false,"highlightMacStyle":false}, | ||
copy: { | ||
success: '复制成功', | ||
error: '复制失败', | ||
noSupport: '浏览器不支持' | ||
}, | ||
relativeDate: { | ||
homepage: false, | ||
post: false | ||
}, | ||
runtime: '', | ||
dateSuffix: { | ||
just: '刚刚', | ||
min: '分钟前', | ||
hour: '小时前', | ||
day: '天前', | ||
month: '个月前' | ||
}, | ||
copyright: undefined, | ||
lightbox: 'null', | ||
Snackbar: undefined, | ||
infinitegrid: { | ||
js: 'https://cdn.jsdelivr.net/npm/@egjs/infinitegrid/dist/infinitegrid.min.js', | ||
buttonText: '加载更多' | ||
}, | ||
isPhotoFigcaption: false, | ||
islazyload: false, | ||
isAnchor: false, | ||
percent: { | ||
toc: true, | ||
rightside: false, | ||
}, | ||
autoDarkmode: false | ||
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = { | ||
title: '页面未找到', | ||
isPost: false, | ||
isHome: false, | ||
isHighlightShrink: false, | ||
isToc: false, | ||
isShuoshuo: false | ||
}</script><meta name="generator" content="Hexo 7.3.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img text-center"><img src="/img/butterfly-icon.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data text-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">1</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">0</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><span class="site-page group"><i class="fa-fw fas fa-list"></i><span> 菜单</span><i class="fas fa-chevron-down"></i></span><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 电影</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="page type-404" id="body-wrap"><header class="not-top-img" id="page-header"><nav id="nav"><span id="blog-info"><a class="nav-site-title" href="/"><span class="site-name">kangkang</span></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><span class="site-page group"><i class="fa-fw fas fa-list"></i><span> 菜单</span><i class="fas fa-chevron-down"></i></span><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 电影</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><span class="site-page"><i class="fas fa-bars fa-fw"></i></span></div></div></nav><h1 class="title-seo">kangkang</h1></header><main class="layout hide-aside" id="content-inner"><div class="nc" id="page"><div class="error-content"><div class="error-img"><img src="/img/error-page.png" alt="Page not found"></div><div class="error-info"><h1 class="error_title">404</h1><div class="error_subtitle">页面没找到</div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">©2019 - 2024 By 烟雨</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="日间和夜间模式切换"><i class="fas fa-adjust"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><div class="js-pjax"></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html> |
Oops, something went wrong.