-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
554 lines (442 loc) · 18.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#FFF">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<link rel="icon" type="image/ico" sizes="32x32" href="/images/favicon.ico">
<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
<link rel="alternate" type="application/rss+xml" title="why so serious" href="http://example.com/rss.xml" />
<link rel="alternate" type="application/atom+xml" title="why so serious" href="http://example.com/atom.xml" />
<link rel="alternate" type="application/json" title="why so serious" href="http://example.com/feed.json" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Mulish:300,300italic,400,400italic,700,700italic%7CFredericka%20the%20Great:300,300italic,400,400italic,700,700italic%7CNoto%20Serif%20JP:300,300italic,400,400italic,700,700italic%7CNoto%20Serif%20SC:300,300italic,400,400italic,700,700italic%7CInconsolata:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
<link rel="stylesheet" href="/css/app.css?v=0.2.5">
<link rel="canonical" href="http://example.com/">
<title>Joker = why so serious</title>
<meta name="generator" content="Hexo 6.2.0"></head>
<body itemscope itemtype="http://schema.org/WebPage">
<div id="loading">
<div class="cat">
<div class="body"></div>
<div class="head">
<div class="face"></div>
</div>
<div class="foot">
<div class="tummy-end"></div>
<div class="bottom"></div>
<div class="legs left"></div>
<div class="legs right"></div>
</div>
<div class="paw">
<div class="hands left"></div>
<div class="hands right"></div>
</div>
</div>
</div>
<div id="container">
<header id="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="inner">
<div id="brand">
<div class="pjax">
<a href="/" class="logo" rel="start"><p class="artboard">Joker</p>
<h1 itemprop="name headline" class="title">why so serious</h1>
</a>
</div>
</div>
<nav id="nav">
<div class="inner">
<div class="toggle">
<div class="lines" aria-label="切换导航栏">
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
</div>
</div>
<ul class="menu">
<li class="item title"><a href="/" rel="start">Joker</a></li>
</ul>
<ul class="right">
<li class="item theme">
<i class="ic i-sun"></i>
</li>
<li class="item search">
<i class="ic i-search"></i>
</li>
</ul>
</div>
</nav>
</div>
<div id="imgs" class="pjax">
<ul>
<li class="item" data-background-image="https://tva1.sinaimg.cn/large/6833939bly1gipevgoki5j20zk0m84qp.jpg"></li>
<li class="item" data-background-image="https://tva1.sinaimg.cn/large/6833939bly1gipet4bz0yj20zk0m8e81.jpg"></li>
<li class="item" data-background-image="https://tva1.sinaimg.cn/large/6833939bly1giclfw2t96j20zk0m8x6p.jpg"></li>
<li class="item" data-background-image="https://tva1.sinaimg.cn/large/6833939bly1gipexbei4hj20zk0m8npd.jpg"></li>
<li class="item" data-background-image="https://tva1.sinaimg.cn/large/6833939bly1giciub8ja1j20zk0m81ky.jpg"></li>
<li class="item" data-background-image="https://tva1.sinaimg.cn/large/6833939bly1gipey0a334j20zk0m8qpt.jpg"></li>
</ul>
</div>
</header>
<div id="waves">
<svg class="waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
</defs>
<g class="parallax">
<use xlink:href="#gentle-wave" x="48" y="0" />
<use xlink:href="#gentle-wave" x="48" y="3" />
<use xlink:href="#gentle-wave" x="48" y="5" />
<use xlink:href="#gentle-wave" x="48" y="7" />
</g>
</svg>
</div>
<main>
<div class="inner">
<div id="main" class="pjax">
<div class="index wrap">
<h2 class="divider">精选分类</h2>
<div class="cards">
<section class="item">
<div class="cover" data-background-image="/theme-configuration/cover.jpg">
<h2 class="title">主题配置</h2>
</div>
<div class="info">
<div class="ribbon"><a href="/categories/theme-configuration/" itemprop="url" title="主题配置">主题配置</a></div>
<div class="inner">
<ul class="posts">
<li><a title="Theme Shoka Documentation" href="/categories/theme-configuration/theme-shoka-doc/">Theme Shoka Documentation</a></li>
</ul>
<div class="meta footer">
<span>
<i class="ic i-file"></i>1 个子项,5 篇文章
</span>
</div>
<a href="/categories/theme-configuration/" itemprop="url" title="主题配置" class="btn">more...</a>
</div>
</div>
</section>
</div>
<h2 class="divider">文章列表</h2>
<div class="segments posts">
<article class="item">
<div class="cover">
<a href="/2020/08/13/theme-configuration/theme-shoka-doc/special/" itemprop="url" title="Step.4 主题特殊功能"><img data-src="https://tva1.sinaimg.cn/mw690/6833939bly1giclj61ylzj20zk0m8b29.jpg"></a>
</div>
<div class="info">
<div class="meta">
<span class="item" title="创建时间:2020-08-13 21:45:48">
<span class="icon">
<i class="ic i-calendar"></i>
</span>
<time itemprop="dateCreated datePublished" datetime="2020-08-13T21:45:48+08:00">2020-08-13</time>
</span>
</div>
<h3><a href="/2020/08/13/theme-configuration/theme-shoka-doc/special/" itemprop="url" title="Step.4 主题特殊功能">Step.4 主题特殊功能</a></h3>
<div class="excerpt">
🚀快速开始 - 💌依赖插件 - 📌基本配置 - 🌈界面显示 - 🦄特殊功能
以下介绍可以使用的 markdown 或者标签代码。
功能大部分基于 hexo-renderer-multi-markdown-it 渲染器,尤其是代码块的显示,与默认渲染器不兼容。
# links 链接块
本功能参考 NexT,基于 Hexo Tag 功能,用来建立友链或其他网址链接功能。
文章中的使用格式:
使用 links 标签块,包围 yml 语法书写的内容,字段包括
–|--|–
site | 站点名称 | 必填
owner | 管理员名字 | 可选,默认为 site 的值
url |...
</div>
<div class="meta footer">
<span>
<a href="/categories/theme-configuration/theme-shoka-doc/" itemprop="url" title="Theme Shoka Documentation"><i class="ic i-flag"></i>Theme Shoka Documentation</a>
</span>
</div>
<a href="/2020/08/13/theme-configuration/theme-shoka-doc/special/" itemprop="url" title="Step.4 主题特殊功能" class="btn">more...</a>
</div>
</article>
<article class="item">
<div class="cover">
<a href="/2020/08/13/theme-configuration/theme-shoka-doc/display/" itemprop="url" title="Step.3 界面显示"><img data-src="https://tva1.sinaimg.cn/mw690/6833939bly1gipeuv80yoj20zk0m8kjl.jpg"></a>
</div>
<div class="info">
<div class="meta">
<span class="item" title="创建时间:2020-08-13 21:12:48">
<span class="icon">
<i class="ic i-calendar"></i>
</span>
<time itemprop="dateCreated datePublished" datetime="2020-08-13T21:12:48+08:00">2020-08-13</time>
</span>
</div>
<h3><a href="/2020/08/13/theme-configuration/theme-shoka-doc/display/" itemprop="url" title="Step.3 界面显示">Step.3 界面显示</a></h3>
<div class="excerpt">
🚀快速开始 - 💌依赖插件 - 📌基本配置 - 🌈界面显示 - 🦄特殊功能
# 首页置顶文章
在文章的 Front Matter 设置 sticky: true ,则该文章将显示在首页最上方的 置顶文章 列。
多篇文章按照发布时间倒序排列,不分页。
---title: 置顶文章sticky: true---# 首页精选分类
想要在首页显示分类翻转块,需要按照以下示例的方式,给需要显示的分类加上封面图。
首先,修改站点配置:
找到 category_map: ,配置每个分类对应的英文映射,比如:
category_map: 计算机科学: computer-science Java:...
</div>
<div class="meta footer">
<span>
<a href="/categories/theme-configuration/theme-shoka-doc/" itemprop="url" title="Theme Shoka Documentation"><i class="ic i-flag"></i>Theme Shoka Documentation</a>
</span>
</div>
<a href="/2020/08/13/theme-configuration/theme-shoka-doc/display/" itemprop="url" title="Step.3 界面显示" class="btn">more...</a>
</div>
</article>
<article class="item">
<div class="cover">
<a href="/2020/08/13/theme-configuration/theme-shoka-doc/config/" itemprop="url" title="Step.2 基本配置"><img data-src="https://tva1.sinaimg.cn/mw690/6833939bly1giph4wqtg4j20zk0m8x6p.jpg"></a>
</div>
<div class="info">
<div class="meta">
<span class="item" title="创建时间:2020-08-13 20:56:48">
<span class="icon">
<i class="ic i-calendar"></i>
</span>
<time itemprop="dateCreated datePublished" datetime="2020-08-13T20:56:48+08:00">2020-08-13</time>
</span>
</div>
<h3><a href="/2020/08/13/theme-configuration/theme-shoka-doc/config/" itemprop="url" title="Step.2 基本配置">Step.2 基本配置</a></h3>
<div class="excerpt">
🚀快速开始 - 💌依赖插件 - 📌基本配置 - 🌈界面显示 - 🦄特殊功能
# 站点别称
alternate: Yume Shoka这里设置的名称代替 Logo,显示在页面顶部,以及页尾©️处
# 静态文件目录
statics: / #//cdn.jsdelivr.net/gh/amehime/shoka@latest/默认值是 / ,指使用本地静态文件
可以修改成 //cdn.jsdelivr.net/gh/您的github用户名/您的项目名@latest/ 这种形式,以使用 jsDelivr 进行加速。
PS:jsDelivr...
</div>
<div class="meta footer">
<span>
<a href="/categories/theme-configuration/theme-shoka-doc/" itemprop="url" title="Theme Shoka Documentation"><i class="ic i-flag"></i>Theme Shoka Documentation</a>
</span>
</div>
<a href="/2020/08/13/theme-configuration/theme-shoka-doc/config/" itemprop="url" title="Step.2 基本配置" class="btn">more...</a>
</div>
</article>
<article class="item">
<div class="cover">
<a href="/2020/08/13/theme-configuration/theme-shoka-doc/dependents/" itemprop="url" title="Step.1 依赖插件"><img data-src="https://tva1.sinaimg.cn/mw690/6833939bly1gipexe4oykj20zk0m87ji.jpg"></a>
</div>
<div class="info">
<div class="meta">
<span class="item" title="创建时间:2020-08-13 20:46:48">
<span class="icon">
<i class="ic i-calendar"></i>
</span>
<time itemprop="dateCreated datePublished" datetime="2020-08-13T20:46:48+08:00">2020-08-13</time>
</span>
</div>
<h3><a href="/2020/08/13/theme-configuration/theme-shoka-doc/dependents/" itemprop="url" title="Step.1 依赖插件">Step.1 依赖插件</a></h3>
<div class="excerpt">
🚀快速开始 - 💌依赖插件 - 📌基本配置 - 🌈界面显示 - 🦄特殊功能
请务必将 hexo-renderer-multi-markdown-it 升级到最新版,目前为 0.1.5
Theme Shoka 依赖以下 Hexo 插件
插件名称
npm 地址
功能
依赖程度
hexo-renderer-multi-markdown-it
链接
md 文件渲染器,压缩 css/js/html
必需
hexo-autoprefixer
链接
给生成的 css...
</div>
<div class="meta footer">
<span>
<a href="/categories/theme-configuration/theme-shoka-doc/" itemprop="url" title="Theme Shoka Documentation"><i class="ic i-flag"></i>Theme Shoka Documentation</a>
</span>
</div>
<a href="/2020/08/13/theme-configuration/theme-shoka-doc/dependents/" itemprop="url" title="Step.1 依赖插件" class="btn">more...</a>
</div>
</article>
</div>
</div>
</div>
<div id="sidebar">
<div class="inner">
<div class="panels">
<div class="inner">
<div class="contents panel pjax" data-title="文章目录">
</div>
<div class="related panel pjax" data-title="系列文章">
</div>
<div class="overview panel" data-title="站点概览">
<div class="author" itemprop="author" itemscope itemtype="http://schema.org/Person">
<img class="image" itemprop="image" alt="Joker"
data-src="/images/avatar.jpg">
<p class="name" itemprop="name">Joker</p>
<div class="description" itemprop="description">开发小萌新</div>
</div>
<nav class="state">
<div class="item posts">
<a href="/archives/">
<span class="count">5</span>
<span class="name">文章</span>
</a>
</div>
<div class="item categories">
<a href="/categories/">
<span class="count">2</span>
<span class="name">分类</span>
</a>
</div>
<div class="item tags">
<a href="/tags/">
<span class="count">2</span>
<span class="name">标签</span>
</a>
</div>
</nav>
<div class="social">
<span class="exturl item github" data-url="aHR0cHM6Ly9naXRodWIuY29tL3lvdXJuYW1l" title="https://github.com/yourname"><i class="ic i-github"></i></span>
</div>
<ul class="menu">
<li class="item">
<a href="/" rel="section"><i class="ic i-home"></i>首页</a>
</li>
<li class="item">
<a href="/about/" rel="section"><i class="ic i-user"></i>关于</a>
</li>
<li class="item dropdown">
<a href="javascript:void(0);"><i class="ic i-feather"></i>文章</a>
<ul class="submenu">
<li class="item">
<a href="/archives/" rel="section"><i class="ic i-list-alt"></i>归档</a>
</li>
<li class="item">
<a href="/categories/" rel="section"><i class="ic i-th"></i>分类</a>
</li>
<li class="item">
<a href="/tags/" rel="section"><i class="ic i-tags"></i>标签</a>
</li>
</ul>
<li class="item">
<a href="/friends/" rel="section"><i class="ic i-heart"></i>友達</a>
</li>
<li class="item">
<a href="/links/" rel="section"><i class="ic i-magic"></i>网站收藏</a>
</li>
</ul>
</div>
</div>
</div>
<ul id="quick">
<li class="prev pjax">
</li>
<li class="up"><i class="ic i-arrow-up"></i></li>
<li class="down"><i class="ic i-arrow-down"></i></li>
<li class="next pjax">
</li>
<li class="percent"></li>
</ul>
</div>
</div>
<div class="dimmer"></div>
</div>
</main>
<footer id="footer">
<div class="inner">
<div class="widgets">
<div class="rpost pjax">
<h2>随机文章</h2>
<ul>
<li class="item">
<div class="breadcrumb">
<a href="/categories/theme-configuration/" title="分类于 主题配置">主题配置</a>
<i class="ic i-angle-right"></i>
<a href="/categories/theme-configuration/theme-shoka-doc/" title="分类于 Theme Shoka Documentation">Theme Shoka Documentation</a>
</div>
<span><a href="/2020/08/13/theme-configuration/theme-shoka-doc/special/" title="Step.4 主题特殊功能">Step.4 主题特殊功能</a></span>
</li>
<li class="item">
<div class="breadcrumb">
<a href="/categories/theme-configuration/" title="分类于 主题配置">主题配置</a>
<i class="ic i-angle-right"></i>
<a href="/categories/theme-configuration/theme-shoka-doc/" title="分类于 Theme Shoka Documentation">Theme Shoka Documentation</a>
</div>
<span><a href="/2020/08/13/theme-configuration/theme-shoka-doc/dependents/" title="Step.1 依赖插件">Step.1 依赖插件</a></span>
</li>
<li class="item">
<div class="breadcrumb">
<a href="/categories/theme-configuration/" title="分类于 主题配置">主题配置</a>
<i class="ic i-angle-right"></i>
<a href="/categories/theme-configuration/theme-shoka-doc/" title="分类于 Theme Shoka Documentation">Theme Shoka Documentation</a>
</div>
<span><a href="/2020/08/13/theme-configuration/theme-shoka-doc/config/" title="Step.2 基本配置">Step.2 基本配置</a></span>
</li>
<li class="item">
<div class="breadcrumb">
<a href="/categories/theme-configuration/" title="分类于 主题配置">主题配置</a>
<i class="ic i-angle-right"></i>
<a href="/categories/theme-configuration/theme-shoka-doc/" title="分类于 Theme Shoka Documentation">Theme Shoka Documentation</a>
</div>
<span><a href="/2020/08/13/theme-configuration/theme-shoka-doc/display/" title="Step.3 界面显示">Step.3 界面显示</a></span>
</li>
<li class="item">
<div class="breadcrumb">
<a href="/categories/theme-configuration/" title="分类于 主题配置">主题配置</a>
<i class="ic i-angle-right"></i>
<a href="/categories/theme-configuration/theme-shoka-doc/" title="分类于 Theme Shoka Documentation">Theme Shoka Documentation</a>
</div>
<span><a href="/2020/08/13/theme-configuration/theme-shoka-doc/" title="Hexo主题Shoka & multi-markdown-it渲染器使用说明">Hexo主题Shoka & multi-markdown-it渲染器使用说明</a></span>
</li>
</ul>
</div>
<div>
<h2>最新评论</h2>
<ul class="leancloud-recent-comment"></ul>
</div>
</div>
<div class="status">
<div class="copyright">
© 2010 –
<span itemprop="copyrightYear">2022</span>
<span class="with-love">
<i class="ic i-sakura rotate"></i>
</span>
<span class="author" itemprop="copyrightHolder">Joker @ Joker</span>
</div>
<div class="powered-by">
基于 <span class="exturl" data-url="aHR0cHM6Ly9oZXhvLmlv">Hexo</span> & Theme.<span class="exturl" data-url="aHR0cHM6Ly9naXRodWIuY29tL2FtZWhpbWUvaGV4by10aGVtZS1zaG9rYQ==">Shoka</span>
</div>
</div>
</div>
</footer>
</div>
<script data-config type="text/javascript">
var LOCAL = {
path: '',
favicon: {
show: "(●´3`●)やれやれだぜ",
hide: "(´Д`)大変だ!"
},
search : {
placeholder: "文章搜索",
empty: "关于 「 ${query} 」,什么也没搜到",
stats: "${time} ms 内找到 ${hits} 条结果"
},
valine: true,fancybox: true,
copyright: '复制成功,转载请遵守 <i class="ic i-creative-commons"></i>BY-NC-SA 协议。',
ignores : [
function(uri) {
return uri.includes('#');
},
function(uri) {
return new RegExp(LOCAL.path+"$").test(uri);
}
]
};
</script>
<script src="https://cdn.polyfill.io/v2/polyfill.js"></script>
<script src="//cdn.jsdelivr.net/combine/npm/pace-js@1.0.2/pace.min.js,npm/pjax@0.2.8/pjax.min.js,npm/whatwg-fetch@3.4.0/dist/fetch.umd.min.js,npm/animejs@3.2.0/lib/anime.min.js,npm/algoliasearch@4/dist/algoliasearch-lite.umd.js,npm/instantsearch.js@4/dist/instantsearch.production.min.js,npm/lozad@1/dist/lozad.min.js,npm/quicklink@2/dist/quicklink.umd.js"></script>
<script src="/js/app.js?v=0.2.5"></script>
</body>
</html>