Skip to content

Commit

Permalink
Site updated: 2024-04-22 13:08:26
Browse files Browse the repository at this point in the history
  • Loading branch information
929525606@qq.com authored and 929525606@qq.com committed Apr 22, 2024
1 parent dfddb13 commit e07aa50
Show file tree
Hide file tree
Showing 47 changed files with 6,280 additions and 0 deletions.
294 changes: 294 additions & 0 deletions 2024/04/22/My-New-Post/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,294 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">

<meta name="author" content="John Doe">





<title>My New Post | Hexo</title>



<link rel="icon" href="/lidian.png">




<!-- stylesheets list from _config.yml -->

<link rel="stylesheet" href="/css/style.css">




<!-- scripts list from _config.yml -->

<script src="/js/script.js"></script>

<script src="/js/tocbot.min.js"></script>










<meta name="generator" content="Hexo 7.2.0"></head>

<body>
<script>
// this function is used to check current theme before page loaded.
(() => {
const currentTheme = window.localStorage && window.localStorage.getItem('theme') || '';
const isDark = currentTheme === 'dark';
const pagebody = document.getElementsByTagName('body')[0]
if (isDark) {
pagebody.classList.add('dark-theme');
// mobile
document.getElementById("mobile-toggle-theme").innerText = "· Dark"
} else {
pagebody.classList.remove('dark-theme');
// mobile
document.getElementById("mobile-toggle-theme").innerText = "· Light"
}
})();
</script>

<div class="wrapper">
<header>
<nav class="navbar">
<div class="container">
<div class="navbar-header header-logo"><a href="/">Lidian&#39;s Blog</a></div>
<div class="menu navbar-right">

<a class="menu-item" href="/archives">Posts</a>

<a class="menu-item" href="/category">Categories</a>

<a class="menu-item" href="/tag">Tags</a>

<a class="menu-item" href="/about">About</a>

<input id="switch_default" type="checkbox" class="switch_default">
<label for="switch_default" class="toggleBtn"></label>
</div>
</div>
</nav>


<nav class="navbar-mobile" id="nav-mobile">
<div class="container">
<div class="navbar-header">
<div>
<a href="/">Lidian&#39;s Blog</a><a id="mobile-toggle-theme">·&nbsp;Light</a>
</div>
<div class="menu-toggle" onclick="mobileBtn()">&#9776; Menu</div>
</div>
<div class="menu" id="mobile-menu">

<a class="menu-item" href="/archives">Posts</a>

<a class="menu-item" href="/category">Categories</a>

<a class="menu-item" href="/tag">Tags</a>

<a class="menu-item" href="/about">About</a>

</div>
</div>
</nav>

</header>
<script>
var mobileBtn = function f() {
var toggleMenu = document.getElementsByClassName("menu-toggle")[0];
var mobileMenu = document.getElementById("mobile-menu");
if(toggleMenu.classList.contains("active")){
toggleMenu.classList.remove("active")
mobileMenu.classList.remove("active")
}else{
toggleMenu.classList.add("active")
mobileMenu.classList.add("active")
}
}
</script>
<div class="main">
<div class="container">


<div class="post-toc">
<div class="tocbot-list">
</div>
<div class="tocbot-list-menu">
<a class="tocbot-toc-expand" onclick="expand_toc()">Expand all</a>
<a onclick="go_top()">Back to top</a>
<a onclick="go_bottom()">Go to bottom</a>
</div>
</div>

<script>
var tocbot_timer;
var DEPTH_MAX = 6; // 为 6 时展开所有
var tocbot_default_config = {
tocSelector: '.tocbot-list',
contentSelector: '.post-content',
headingSelector: 'h1, h2, h3, h4, h5',
orderedList: false,
scrollSmooth: true,
onClick: extend_click,
};

function extend_click() {
clearTimeout(tocbot_timer);
tocbot_timer = setTimeout(function() {
tocbot.refresh(obj_merge(tocbot_default_config, {
hasInnerContainers: true
}));
}, 420); // 这个值是由 tocbot 源码里定义的 scrollSmoothDuration 得来的
}

document.ready(function() {
tocbot.init(obj_merge(tocbot_default_config, {
collapseDepth: 1
}));
});

function expand_toc() {
var b = document.querySelector('.tocbot-toc-expand');
var expanded = b.getAttribute('data-expanded');
expanded ? b.removeAttribute('data-expanded') : b.setAttribute('data-expanded', true);
tocbot.refresh(obj_merge(tocbot_default_config, {
collapseDepth: expanded ? 1 : DEPTH_MAX
}));
b.innerText = expanded ? 'Expand all' : 'Collapse all';
}

function go_top() {
window.scrollTo(0, 0);
}

function go_bottom() {
window.scrollTo(0, document.body.scrollHeight);
}

function obj_merge(target, source) {
for (var item in source) {
if (source.hasOwnProperty(item)) {
target[item] = source[item];
}
}
return target;
}
</script>



<article class="post-wrap">
<header class="post-header">
<h1 class="post-title">My New Post</h1>

<div class="post-meta">

Author: <a itemprop="author" rel="author" href="/">John Doe</a>



<span class="post-time">
Date: <a href="#">April 22, 2024&nbsp;&nbsp;12:07:08</a>
</span>


</div>

</header>

<div class="post-content">
<h2 id="写篇文章"><a href="#写篇文章" class="headerlink" title="写篇文章"></a>写篇文章</h2><p>我怎么知道要怎么去写啊,抓耳挠腮ing……</p>
<h3 id="以下是GPT写的"><a href="#以下是GPT写的" class="headerlink" title="以下是GPT写的"></a>以下是GPT写的</h3><p>在遥远的古老王国里,有一座隐藏在神秘森林中的古堡,传说中居住着一位拥有神奇力量的女巫。她拥有掌握时间和空间的能力,能够预知未来,改变命运。有一天,一个年轻的勇士闯入了这片神秘森林,他听闻女巫可以帮助他实现心愿,于是毅然决定前往古堡求助。</p>
<p>进入古堡后,勇士被女巫神秘的气息所笼罩,他看到了女巫手中的水晶球中映出的未来画面,发现自己将会面临一场艰巨的考验。为了达成心愿,勇士接受了女巫的挑战,踏上了一段充满幻想与危险的旅程。</p>
<p>在旅途中,勇士遇到了各种神秘的生物和魔法力量,他学会了如何运用魔法,与邪恶势力抗衡。在一次次生死考验中,勇士逐渐成长,不仅战胜了内心的恐惧,也收获了真挚的友谊和爱情。</p>
<p>最终,勇士成功完成了女巫交给的任务,实现了自己的心愿。女巫为他送上了一枚闪耀的宝石,宝石中蕴含着女巫的祝福和力量,保佑着他未来的道路。勇士踏上归途,带着经历的成长和力量,继续探寻着未知的冒险与奇迹。这段玄幻的旅程将永远铭刻在他的心中,成为他勇往直前的动力和信念。</p>

</div>


<section class="post-copyright">

<p class="copyright-item">
<span>Author:</span>
<span>John Doe</span>
</p>


<p class="copyright-item">
<span>Permalink:</span>
<span><a href="http://example.com/2024/04/22/My-New-Post/">http://example.com/2024/04/22/My-New-Post/</a></span>
</p>


<p class="copyright-item">
<span>License:</span>
<span>Copyright (c) 2019 <a target="_blank" rel="noopener" href="http://creativecommons.org/licenses/by-nc/4.0/">CC-BY-NC-4.0</a> LICENSE</span>
</p>


<p class="copyright-item">
<span>Slogan:</span>
<span>Do you believe in <strong>DESTINY</strong>?</span>
</p>


</section>

<section class="post-tags">
<div>
<span>Tag(s):</span>
<span class="tag">


<a href="/tags/%E7%AC%AC%E4%B8%80%E7%AF%87Blog/"># 第一篇Blog</a>


</span>
</div>
<div>
<a href="javascript:window.history.back();">back</a>
<span>· </span>
<a href="/">home</a>
</div>
</section>
<section class="post-nav">

<a class="prev" rel="prev" href="/2024/04/22/%E5%B0%8F%E6%95%85%E4%BA%8B1/">My New Post</a>


<a class="next" rel="next" href="/2024/04/22/hello-world/">Hello World</a>

</section>


</article>
</div>

</div>
<footer id="footer" class="footer">
<div class="copyright">
<span>© John Doe | Powered by <a href="https://hexo.io" target="_blank">Hexo</a> & <a href="https://github.com/Siricee/hexo-theme-Chic" target="_blank">Chic</a></span>
</div>
</footer>

</div>
</body>

</html>
Loading

0 comments on commit e07aa50

Please sign in to comment.