-
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
9c1fa30
commit e218854
Showing
75 changed files
with
13,511 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
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,150 @@ | ||
<!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>页面未找到 | Westlord的随笔</title><meta name="author" content="Elegant Westlord"><meta name="copyright" content="Elegant Westlord"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="不积跬步,无以至千里;不积小流,无以成江海。"> | ||
<meta property="og:type" content="website"> | ||
<meta property="og:title" content="Westlord的随笔"> | ||
<meta property="og:url" content="https://blog.westlordnote.xyz/404.html"> | ||
<meta property="og:site_name" content="Westlord的随笔"> | ||
<meta property="og:description" content="不积跬步,无以至千里;不积小流,无以成江海。"> | ||
<meta property="og:locale" content="zh_CN"> | ||
<meta property="og:image" content="https://s2.loli.net/2024/10/09/wFSitvGRX8KjIBe.png"> | ||
<meta property="article:author" content="Elegant Westlord"> | ||
<meta name="twitter:card" content="summary"> | ||
<meta name="twitter:image" content="https://s2.loli.net/2024/10/09/wFSitvGRX8KjIBe.png"><link rel="shortcut icon" href="/images/logo.png"><link rel="canonical" href="https://blog.westlordnote.xyz/404.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><meta name="google-site-verification" content="BOJMVntOoRQNQ2-zTPH9tvve27Ee458KxGUgUn7BgxE"/><link rel="stylesheet" href="/css/index.css?v=5.2.2"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/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: {"limitCount":300,"languages":{"author":"作者: Elegant Westlord","link":"链接: ","source":"来源: Westlord的随笔","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, | ||
lightbox: 'null', | ||
Snackbar: undefined, | ||
infinitegrid: { | ||
js: 'https://cdn.jsdelivr.net/npm/@egjs/[email protected]/dist/infinitegrid.min.js', | ||
buttonText: '加载更多' | ||
}, | ||
isPhotoFigcaption: false, | ||
islazyload: true, | ||
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><link rel="stylesheet" href="/css/font.css"><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= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="https://s2.loli.net/2024/10/09/wFSitvGRX8KjIBe.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">3</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">6</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">5</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"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></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="/"><img class="site-icon" src= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="/images/logo.png" alt="Logo"></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"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></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">Westlord的随笔</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= "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-lazy-src="/images/%E6%B5%81%E9%80%90%E4%B9%8B%E6%B5%B7.jpg" alt="Page not found"></div><div class="error-info"><h1 class="error_title">404</h1><div class="error_subtitle">你要找的页面还没写(新建文件夹.jpg)</div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">©2024 By Elegant Westlord</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?v=5.2.2"></script><script src="/js/main.js?v=5.2.2"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/lazyload.iife.min.js"></script><div class="js-pjax"></div><script defer="defer" id="fluttering_ribbon" mobile="false" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/canvas-fluttering-ribbon.min.js"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/activate-power-mode.min.js"></script><script>POWERMODE.colorful = true; | ||
POWERMODE.shake = true; | ||
POWERMODE.mobile = true; | ||
document.body.addEventListener('input', POWERMODE); | ||
</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html> |
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 @@ | ||
blog.westlordnote.xyz |
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,13 @@ | ||
@font-face{ | ||
font-family: 'Wenkai Mono'; | ||
font-display: swap; | ||
src: url('font/LXGWWenKaiMono-Regular.ttf') format("truetype"); | ||
} | ||
@font-face{ | ||
font-family: 'Wenkai'; | ||
font-display: swap; | ||
src: url('font/LXGWWenKai-Regular.ttf') format("truetype"); | ||
} | ||
body { | ||
font-family: 'Wenkai Mono','Wenkai', sans-serif; | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,94 @@ | ||
Copyright 2021-2024 LXGW (https://github.com/lxgw/LxgwWenKai) | ||
Copyright 2020 The Klee Project Authors (https://github.com/fontworks-fonts/Klee) | ||
|
||
This Font Software is licensed under the SIL Open Font License, Version 1.1. | ||
This license is copied below, and is also available with a FAQ at: | ||
https://openfontlicense.org | ||
|
||
|
||
----------------------------------------------------------- | ||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 | ||
----------------------------------------------------------- | ||
|
||
PREAMBLE | ||
The goals of the Open Font License (OFL) are to stimulate worldwide | ||
development of collaborative font projects, to support the font creation | ||
efforts of academic and linguistic communities, and to provide a free and | ||
open framework in which fonts may be shared and improved in partnership | ||
with others. | ||
|
||
The OFL allows the licensed fonts to be used, studied, modified and | ||
redistributed freely as long as they are not sold by themselves. The | ||
fonts, including any derivative works, can be bundled, embedded, | ||
redistributed and/or sold with any software provided that any reserved | ||
names are not used by derivative works. The fonts and derivatives, | ||
however, cannot be released under any other type of license. The | ||
requirement for fonts to remain under this license does not apply | ||
to any document created using the fonts or their derivatives. | ||
|
||
DEFINITIONS | ||
"Font Software" refers to the set of files released by the Copyright | ||
Holder(s) under this license and clearly marked as such. This may | ||
include source files, build scripts and documentation. | ||
|
||
"Reserved Font Name" refers to any names specified as such after the | ||
copyright statement(s). | ||
|
||
"Original Version" refers to the collection of Font Software components as | ||
distributed by the Copyright Holder(s). | ||
|
||
"Modified Version" refers to any derivative made by adding to, deleting, | ||
or substituting -- in part or in whole -- any of the components of the | ||
Original Version, by changing formats or by porting the Font Software to a | ||
new environment. | ||
|
||
"Author" refers to any designer, engineer, programmer, technical | ||
writer or other person who contributed to the Font Software. | ||
|
||
PERMISSION & CONDITIONS | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of the Font Software, to use, study, copy, merge, embed, modify, | ||
redistribute, and sell modified and unmodified copies of the Font | ||
Software, subject to the following conditions: | ||
|
||
1) Neither the Font Software nor any of its individual components, | ||
in Original or Modified Versions, may be sold by itself. | ||
|
||
2) Original or Modified Versions of the Font Software may be bundled, | ||
redistributed and/or sold with any software, provided that each copy | ||
contains the above copyright notice and this license. These can be | ||
included either as stand-alone text files, human-readable headers or | ||
in the appropriate machine-readable metadata fields within text or | ||
binary files as long as those fields can be easily viewed by the user. | ||
|
||
3) No Modified Version of the Font Software may use the Reserved Font | ||
Name(s) unless explicit written permission is granted by the corresponding | ||
Copyright Holder. This restriction only applies to the primary font name as | ||
presented to the users. | ||
|
||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font | ||
Software shall not be used to promote, endorse or advertise any | ||
Modified Version, except to acknowledge the contribution(s) of the | ||
Copyright Holder(s) and the Author(s) or with their explicit written | ||
permission. | ||
|
||
5) The Font Software, modified or unmodified, in part or in whole, | ||
must be distributed entirely under this license, and must not be | ||
distributed under any other license. The requirement for fonts to | ||
remain under this license does not apply to any document created | ||
using the Font Software. | ||
|
||
TERMINATION | ||
This license becomes null and void if any of the above conditions are | ||
not met. | ||
|
||
DISCLAIMER | ||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT | ||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE | ||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL | ||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM | ||
OTHER DEALINGS IN THE FONT SOFTWARE. |
Oops, something went wrong.