-
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
深远
authored and
深远
committed
Dec 9, 2024
1 parent
d47444c
commit 0bdfb69
Showing
75 changed files
with
10,462 additions
and
147 deletions.
There are no files selected for viewing
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,171 @@ | ||
<!DOCTYPE html><html lang="zh" 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>about | 深远</title><meta name="author" content="Shen Yuan"><meta name="copyright" content="Shen Yuan"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="有亿点恋爱脑的理工男…… 希望我的文章对你我都有帮助!!!(づ ̄ 3 ̄)づ"> | ||
<meta property="og:type" content="website"> | ||
<meta property="og:title" content="about"> | ||
<meta property="og:url" content="https://shenyuanol.github.io/about/index.html"> | ||
<meta property="og:site_name" content="深远"> | ||
<meta property="og:description" content="有亿点恋爱脑的理工男…… 希望我的文章对你我都有帮助!!!(づ ̄ 3 ̄)づ"> | ||
<meta property="og:locale"> | ||
<meta property="og:image" content="https://shenyuanol.github.io/img/butterfly-icon.png"> | ||
<meta property="article:published_time" content="2024-12-07T03:42:50.000Z"> | ||
<meta property="article:modified_time" content="2024-12-07T07:22:28.407Z"> | ||
<meta property="article:author" content="Shen Yuan"> | ||
<meta name="twitter:card" content="summary"> | ||
<meta name="twitter:image" content="https://shenyuanol.github.io/img/butterfly-icon.png"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://shenyuanol.github.io/about/index.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: undefined, | ||
copy: { | ||
success: 'Copy Successful', | ||
error: 'Copy Failed', | ||
noSupport: 'Browser Not Supported' | ||
}, | ||
relativeDate: { | ||
homepage: false, | ||
post: false | ||
}, | ||
runtime: '', | ||
dateSuffix: { | ||
just: 'Just now', | ||
min: 'minutes ago', | ||
hour: 'hours ago', | ||
day: 'days ago', | ||
month: 'months ago' | ||
}, | ||
copyright: undefined, | ||
lightbox: 'null', | ||
Snackbar: undefined, | ||
infinitegrid: { | ||
js: 'https://cdn.jsdelivr.net/npm/@egjs/infinitegrid/dist/infinitegrid.min.js', | ||
buttonText: 'Load More' | ||
}, | ||
isPhotoFigcaption: false, | ||
islazyload: false, | ||
isAnchor: false, | ||
percent: { | ||
toc: true, | ||
rightside: false, | ||
}, | ||
autoDarkmode: false | ||
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = { | ||
title: 'about', | ||
isPost: false, | ||
isHome: false, | ||
isHighlightShrink: false, | ||
isToc: false, | ||
isShuoshuo: false | ||
}</script><meta name="generator" content="Hexo 7.3.0"></head><body><div class="page" id="body-wrap"><header class="not-home-page" id="page-header"><nav id="nav"><span id="blog-info"><a class="nav-site-title" href="/"><span class="site-name">深远</span></a></span><div id="menus"></div></nav><div id="page-site-info"><h1 id="site-title">about</h1></div></header><main class="layout" id="content-inner"><div id="page"><div class="container" id="article-container"><p>有亿点恋爱脑的理工男……</p> | ||
<p>希望我的文章对你我都有帮助!!!(づ ̄ 3 ̄)づ</p> | ||
</div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info text-center"><div class="avatar-img"><img src="/img/butterfly-icon.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info-name">Shen Yuan</div><div class="author-info-description"></div><div class="site-data"><a href="/archives/"><div class="headline">Articles</div><div class="length-num">3</div></a><a href="/tags/"><div class="headline">Tags</div><div class="length-num">5</div></a><a href="/categories/"><div class="headline">Categories</div><div class="length-num">1</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/xxxxxx"><i class="fab fa-github"></i><span>Follow Me</span></a></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>Announcement</span></div><div class="announcement_content">This is my Blog</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>Recent Posts</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/post/2024/12/08/GithHub-Hexo-VUE%E5%8D%95%E9%A1%B5%E9%9D%A2%E4%B8%BB%E9%A2%98%E7%9A%84%E9%97%AE%E9%A2%98/" title="GithHub-Hexo-VUE单页面主题的问题">GithHub-Hexo-VUE单页面主题的问题</a><time datetime="2024-12-08T13:31:04.000Z" title="Created 2024-12-08 21:31:04">2024-12-08</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/post/2024/12/07/HTML-CSS%E7%AC%94%E8%AE%B0/" title="HTML/CSS笔记">HTML/CSS笔记</a><time datetime="2024-12-07T07:06:56.000Z" title="Created 2024-12-07 15:06:56">2024-12-07</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/post/2024/12/07/GitHub-Hexo%E5%88%9D%E6%AC%A1%E5%BB%BA%E7%AB%99%E7%AE%80%E5%8D%95%E6%B5%81%E7%A8%8B%E4%B8%8E%E9%97%AE%E9%A2%98/" title="GitHub-Hexo初次建站简单流程与问题">GitHub-Hexo初次建站简单流程与问题</a><time datetime="2024-12-07T02:45:30.000Z" title="Created 2024-12-07 10:45:30">2024-12-07</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline"> | ||
<i class="fas fa-folder-open"></i> | ||
<span>Categories</span> | ||
|
||
</div> | ||
<ul class="card-category-list" id="aside-cat-list"> | ||
<li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E7%AC%94%E8%AE%B0/"><span class="card-category-list-name">笔记</span><span class="card-category-list-count">1</span></a></li> | ||
</ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>Tags</span></div><div class="card-tag-cloud"><a href="/tags/CSS/" style="font-size: 1.1em; color: #999">CSS</a> <a href="/tags/%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2/" style="font-size: 1.5em; color: #99a9bf">个人博客</a> <a href="/tags/%E7%A7%81%E4%BA%BA%E7%AC%94%E8%AE%B0/" style="font-size: 1.1em; color: #999">私人笔记</a> <a href="/tags/VUE/" style="font-size: 1.1em; color: #999">VUE</a> <a href="/tags/HTML/" style="font-size: 1.1em; color: #999">HTML</a></div></div><div class="card-widget card-archives"> | ||
<div class="item-headline"> | ||
<i class="fas fa-archive"></i> | ||
<span>Archives</span> | ||
|
||
</div> | ||
<ul class="card-archive-list"> | ||
|
||
<li class="card-archive-list-item"> | ||
<a class="card-archive-list-link" href="/archives/2024/12/"> | ||
<span class="card-archive-list-date">December 2024</span> | ||
<span class="card-archive-list-count">3</span> | ||
</a> | ||
</li> | ||
</ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>Website Info</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">Article Count :</div><div class="item-count">3</div></div><div class="webinfo-item"><div class="item-name">Unique Visitors :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">Page Views :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">Last Update :</div><div class="item-count" id="last-push-date" data-lastPushDate="2024-12-09T07:11:50.971Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">©2019 - 2024 By Shen Yuan</div><div class="framework-info"><span>Framework </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>Theme </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="Toggle Between Light and Dark Mode"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="Toggle Between Single-column and Double-column"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="Settings"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="Back to Top"><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> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.