Skip to content

Commit b2b80ba

Browse files
committed
Site updated: 2023-02-07 16:46:17
1 parent 5cbff13 commit b2b80ba

38 files changed

Lines changed: 4990 additions & 0 deletions

2023/02/07/hello-world/index.html

Lines changed: 298 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,298 @@
1+
<!DOCTYPE html>
2+
<html lang="zh">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport"
7+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
8+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
9+
10+
<meta name="author" content="XMUTSEC">
11+
12+
13+
<meta name="subtitle" content="Hack The Planet">
14+
15+
16+
<meta name="description" content="厦门理工学院信息安全协会官网,这是一个热爱信息安全、网络安全等领域的团体">
17+
18+
19+
20+
<title>Hello World | 厦门理工学院信息安全协会 - Hack The Planet</title>
21+
22+
23+
24+
<link rel="icon" href="/favicon.ico">
25+
26+
27+
28+
29+
<!-- stylesheets list from _config.yml -->
30+
31+
<link rel="stylesheet" href="/css/style.css">
32+
33+
34+
35+
36+
<!-- scripts list from _config.yml -->
37+
38+
<script src="/js/script.js"></script>
39+
40+
<script src="/js/tocbot.min.js"></script>
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
<meta name="generator" content="Hexo 6.3.0"></head>
52+
53+
<body>
54+
<script>
55+
// this function is used to check current theme before page loaded.
56+
(() => {
57+
const currentTheme = window.localStorage && window.localStorage.getItem('theme') || '';
58+
const isDark = currentTheme === 'dark';
59+
const pagebody = document.getElementsByTagName('body')[0]
60+
if (isDark) {
61+
pagebody.classList.add('dark-theme');
62+
// mobile
63+
document.getElementById("mobile-toggle-theme").innerText = "· Dark"
64+
} else {
65+
pagebody.classList.remove('dark-theme');
66+
// mobile
67+
document.getElementById("mobile-toggle-theme").innerText = "· Light"
68+
}
69+
})();
70+
</script>
71+
72+
<div class="wrapper">
73+
<header>
74+
<nav class="navbar">
75+
<div class="container">
76+
<div class="navbar-header header-logo"><a href="/">XMUTSEC</a></div>
77+
<div class="menu navbar-right">
78+
79+
<a class="menu-item" href="/archives">Posts</a>
80+
81+
<a class="menu-item" href="/category">Categories</a>
82+
83+
<a class="menu-item" href="/tag">Tags</a>
84+
85+
<a class="menu-item" href="/about">About</a>
86+
87+
<input id="switch_default" type="checkbox" class="switch_default">
88+
<label for="switch_default" class="toggleBtn"></label>
89+
</div>
90+
</div>
91+
</nav>
92+
93+
94+
<nav class="navbar-mobile" id="nav-mobile">
95+
<div class="container">
96+
<div class="navbar-header">
97+
<div>
98+
<a href="/">XMUTSEC</a><a id="mobile-toggle-theme">·&nbsp;Light</a>
99+
</div>
100+
<div class="menu-toggle" onclick="mobileBtn()">&#9776; Menu</div>
101+
</div>
102+
<div class="menu" id="mobile-menu">
103+
104+
<a class="menu-item" href="/archives">Posts</a>
105+
106+
<a class="menu-item" href="/category">Categories</a>
107+
108+
<a class="menu-item" href="/tag">Tags</a>
109+
110+
<a class="menu-item" href="/about">About</a>
111+
112+
</div>
113+
</div>
114+
</nav>
115+
116+
</header>
117+
<script>
118+
var mobileBtn = function f() {
119+
var toggleMenu = document.getElementsByClassName("menu-toggle")[0];
120+
var mobileMenu = document.getElementById("mobile-menu");
121+
if(toggleMenu.classList.contains("active")){
122+
toggleMenu.classList.remove("active")
123+
mobileMenu.classList.remove("active")
124+
}else{
125+
toggleMenu.classList.add("active")
126+
mobileMenu.classList.add("active")
127+
}
128+
}
129+
</script>
130+
<div class="main">
131+
<div class="container">
132+
133+
134+
<div class="post-toc">
135+
<div class="tocbot-list">
136+
</div>
137+
<div class="tocbot-list-menu">
138+
<a class="tocbot-toc-expand" onclick="expand_toc()">Expand all</a>
139+
<a onclick="go_top()">Back to top</a>
140+
<a onclick="go_bottom()">Go to bottom</a>
141+
</div>
142+
</div>
143+
144+
<script>
145+
var tocbot_timer;
146+
var DEPTH_MAX = 6; // 为 6 时展开所有
147+
var tocbot_default_config = {
148+
tocSelector: '.tocbot-list',
149+
contentSelector: '.post-content',
150+
headingSelector: 'h1, h2, h3, h4, h5',
151+
orderedList: false,
152+
scrollSmooth: true,
153+
onClick: extend_click,
154+
};
155+
156+
function extend_click() {
157+
clearTimeout(tocbot_timer);
158+
tocbot_timer = setTimeout(function() {
159+
tocbot.refresh(obj_merge(tocbot_default_config, {
160+
hasInnerContainers: true
161+
}));
162+
}, 420); // 这个值是由 tocbot 源码里定义的 scrollSmoothDuration 得来的
163+
}
164+
165+
document.ready(function() {
166+
tocbot.init(obj_merge(tocbot_default_config, {
167+
collapseDepth: 1
168+
}));
169+
});
170+
171+
function expand_toc() {
172+
var b = document.querySelector('.tocbot-toc-expand');
173+
var expanded = b.getAttribute('data-expanded');
174+
expanded ? b.removeAttribute('data-expanded') : b.setAttribute('data-expanded', true);
175+
tocbot.refresh(obj_merge(tocbot_default_config, {
176+
collapseDepth: expanded ? 1 : DEPTH_MAX
177+
}));
178+
b.innerText = expanded ? 'Expand all' : 'Collapse all';
179+
}
180+
181+
function go_top() {
182+
window.scrollTo(0, 0);
183+
}
184+
185+
function go_bottom() {
186+
window.scrollTo(0, document.body.scrollHeight);
187+
}
188+
189+
function obj_merge(target, source) {
190+
for (var item in source) {
191+
if (source.hasOwnProperty(item)) {
192+
target[item] = source[item];
193+
}
194+
}
195+
return target;
196+
}
197+
</script>
198+
199+
200+
201+
<article class="post-wrap">
202+
<header class="post-header">
203+
<h1 class="post-title">Hello World</h1>
204+
205+
<div class="post-meta">
206+
207+
Author: <a itemprop="author" rel="author" href="/">XMUTSEC</a>
208+
209+
210+
211+
<span class="post-time">
212+
Date: <a href="#">February 7, 2023&nbsp;&nbsp;14:50:39</a>
213+
</span>
214+
215+
216+
</div>
217+
218+
</header>
219+
220+
<div class="post-content">
221+
<p>Welcome to <a target="_blank" rel="noopener" href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a target="_blank" rel="noopener" href="https://hexo.io/docs/">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a target="_blank" rel="noopener" href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a target="_blank" rel="noopener" href="https://github.com/hexojs/hexo/issues">GitHub</a>.</p>
222+
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo new <span class="string">&quot;My New Post&quot;</span></span><br></pre></td></tr></table></figure>
223+
224+
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/writing.html">Writing</a></p>
225+
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure>
226+
227+
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/server.html">Server</a></p>
228+
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure>
229+
230+
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/generating.html">Generating</a></p>
231+
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure>
232+
233+
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>
234+
235+
</div>
236+
237+
238+
<section class="post-copyright">
239+
240+
<p class="copyright-item">
241+
<span>Author:</span>
242+
<span>XMUTSEC</span>
243+
</p>
244+
245+
246+
<p class="copyright-item">
247+
<span>Permalink:</span>
248+
<span><a href="https://www.xmutsec.cn/2023/02/07/hello-world/">https://www.xmutsec.cn/2023/02/07/hello-world/</a></span>
249+
</p>
250+
251+
252+
<p class="copyright-item">
253+
<span>License:</span>
254+
<span>Copyright (c) 2016 - Now <a target="_blank" rel="noopener" href="http://creativecommons.org/licenses/by-nc/4.0/">CC-BY-NC-4.0</a> LICENSE</span>
255+
</p>
256+
257+
258+
<p class="copyright-item">
259+
<span>Slogan:</span>
260+
<span>Do you believe in <strong>DESTINY</strong>?</span>
261+
</p>
262+
263+
264+
</section>
265+
266+
<section class="post-tags">
267+
<div>
268+
<span>Tag(s):</span>
269+
<span class="tag">
270+
271+
</span>
272+
</div>
273+
<div>
274+
<a href="javascript:window.history.back();">back</a>
275+
<span>· </span>
276+
<a href="/">home</a>
277+
</div>
278+
</section>
279+
<section class="post-nav">
280+
281+
282+
</section>
283+
284+
285+
</article>
286+
</div>
287+
288+
</div>
289+
<footer id="footer" class="footer">
290+
<div class="copyright">
291+
<span>© XMUTSEC | 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>
292+
</div>
293+
</footer>
294+
295+
</div>
296+
</body>
297+
298+
</html>

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
www.xmutsec.cn

0 commit comments

Comments
 (0)