-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
433 lines (287 loc) · 13.4 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>行者无疆</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description">
<meta property="og:type" content="website">
<meta property="og:title" content="行者无疆">
<meta property="og:url" content="http://wleyuan.me/index.html">
<meta property="og:site_name" content="行者无疆">
<meta property="og:description">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="行者无疆">
<meta name="twitter:description">
<link rel="alternative" href="/atom.xml" title="行者无疆" type="application/atom+xml">
<link rel="icon" href="/favicon.png">
<link rel="stylesheet" href="/css/style.css" type="text/css">
<link href="//fonts.useso.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
<!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.min.js"></script><![endif]-->
</head>
<body>
<div id="container">
<div id="wrap">
<header id="header">
<div id="banner"></div>
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
<h1 id="logo-wrap">
<a href="/" id="logo">行者无疆</a>
</h1>
<h2 id="subtitle-wrap">
<a href="/" id="subtitle">自由、美</a>
</h2>
</div>
<div id="header-inner" class="inner">
<nav id="main-nav">
<a id="main-nav-toggle" class="nav-icon"></a>
<a class="main-nav-link" href="/">主页</a>
<a class="main-nav-link" href="/archives">归档</a>
</nav>
<nav id="sub-nav">
<a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
<a id="nav-search-btn" class="nav-icon" title="Search"></a>
</nav>
<div id="search-form-wrap">
<form class="search-form">
<input type="text" id="ts-search-input" name="word" maxlength="20" class="search-form-input" placeholder="搜索">
</form>
</div>
</div>
</div>
<script>
var option = {
engineKey: '50ed79df77f90fd5fb6c'
};
(function(w,d,t,u,n,s,e){
s = d.createElement(t);
s.src = u;
s.async = 1;
w[n] = function(r){
w[n].opts = r;
};
e = d.getElementsByTagName(t)[0];
e.parentNode.insertBefore(s, e);
})(window,document,'script','//tinysou-cdn.b0.upaiyun.com/ts.js','_ts');
_ts(option);
</script>
</header>
<div class="outer">
<section id="main">
<article id="post-Hexo-AddSoundPicMovie" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2015/07/18/Hexo-AddSoundPicMovie/" class="article-date">
<time datetime="2015-07-18T12:55:24.000Z" itemprop="datePublished">2015-07-18</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Hexo/">Hexo</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2015/07/18/Hexo-AddSoundPicMovie/">Hexo博客添加图片、音乐、视频</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p><strong>【参考链接】</strong> <a href="http://starsky.gitcafe.io/2015/05/05/Hexo%E6%B7%BB%E5%8A%A0%E5%9B%BE%E7%89%87%E3%80%81%E9%9F%B3%E4%B9%90%E5%92%8C%E8%A7%86%E9%A2%91/">Hexo添加图片、音乐和视频 </a></p>
<h2 id="插入图片">插入图片</h2><h3 id="添加外部链接图片">添加外部链接图片</h3><p>插入图片代码:<br><figure class="highlight markdown"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">![<span class="link_label">“图片描述”(可以不写)</span>](<span class="link_url">“图片地址”</span>)</span><br></pre></td></tr></table></figure></p>
<p class="article-more-link">
<a href="/2015/07/18/Hexo-AddSoundPicMovie/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://wleyuan.me/2015/07/18/Hexo-AddSoundPicMovie/" data-id="cicajsxib000f489rf2cqzt04" class="article-share-link" data-share="baidu">分享到</a>
<a href="http://wleyuan.me/2015/07/18/Hexo-AddSoundPicMovie/#ds-thread" class="article-comment-link">评论</a>
</footer>
</div>
</article>
<article id="post-Hexo-AddSearch" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2015/07/17/Hexo-AddSearch/" class="article-date">
<time datetime="2015-07-17T12:46:24.000Z" itemprop="datePublished">2015-07-17</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Hexo/">Hexo</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2015/07/17/Hexo-AddSearch/">Hexo博客添加微搜索</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p><strong>【原文链接】</strong> <a href="http://starsky.gitcafe.io/2015/05/11/%E4%B8%BAHexo%E6%B7%BB%E5%8A%A0%E5%BE%AE%E6%90%9C%E7%B4%A2/">为Hexo添加微搜索</a></p>
<h2 id="微搜索是什么">微搜索是什么</h2><p>微搜索(<a href="http://tinysou.com/">官网</a>)是一个非常快速的站内搜索引擎,全文搜索,实时索引,即输即搜,自动补全,帮助你轻松实现全文搜索功能。<br>而整个过程只需要简单的三步:创建引擎,添加站点地址,复制代码到 html。<br>关键它还免费(哈哈,就看中这点!),免费帐号可创建1个引擎,添加两个域名。<br>
<p class="article-more-link">
<a href="/2015/07/17/Hexo-AddSearch/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://wleyuan.me/2015/07/17/Hexo-AddSearch/" data-id="cicajsxgl0000489rnj5jg4kq" class="article-share-link" data-share="baidu">分享到</a>
<a href="http://wleyuan.me/2015/07/17/Hexo-AddSearch/#ds-thread" class="article-comment-link">评论</a>
</footer>
</div>
</article>
<article id="post-Hexo-EnableTableofContents" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2015/07/17/Hexo-EnableTableofContents/" class="article-date">
<time datetime="2015-07-17T12:02:24.000Z" itemprop="datePublished">2015-07-17</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Hexo/">Hexo</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2015/07/17/Hexo-EnableTableofContents/">Hexo博客添加目录</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p><strong>【原文链接】</strong> <a href="http://kuangqi.me/tricks/enable-table-of-contents-on-hexo/">为Hexo博客添加目录</a><br>Hexo博客系统的核心支持生成目录(Table of Contents),但其默认的主题Landscape并不支持目录的显示。我们只需对Landscape的主题文件稍作修改并添加一点目录的CSS就可以在文章前面显示友好的目录了。</p>
<h2 id="修改Landscape主题的ejs文件">修改Landscape主题的ejs文件</h2><p>我们首先要编辑文章显示页面的模板,也就是<code>themes/landscape/layout/_partial/article.ejs</code>文件。为了将目录生成在正文之前,我们首先在这个文件中找到<code><%- post.content %></code>,并在<strong>这一行之前</strong>加入如下代码:</p>
<p class="article-more-link">
<a href="/2015/07/17/Hexo-EnableTableofContents/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="http://wleyuan.me/2015/07/17/Hexo-EnableTableofContents/" data-id="cicajsxib000d489rl7b8l5pd" class="article-share-link" data-share="baidu">分享到</a>
<a href="http://wleyuan.me/2015/07/17/Hexo-EnableTableofContents/#ds-thread" class="article-comment-link">评论</a>
</footer>
</div>
</article>
</section>
<aside id="sidebar">
<div class="widget-wrap">
<h3 class="widget-title">分类</h3>
<div class="widget">
<ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/Hexo/">Hexo</a><span class="category-list-count">3</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">标签</h3>
<div class="widget">
<ul class="tag-list"></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">标签云</h3>
<div class="widget tagcloud">
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">归档</h3>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/07/">七月 2015</a><span class="archive-list-count">3</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">近期文章</h3>
<div class="widget">
<ul>
<li>
<a href="/2015/07/18/Hexo-AddSoundPicMovie/">Hexo博客添加图片、音乐、视频</a>
</li>
<li>
<a href="/2015/07/17/Hexo-AddSearch/">Hexo博客添加微搜索</a>
</li>
<li>
<a href="/2015/07/17/Hexo-EnableTableofContents/">Hexo博客添加目录</a>
</li>
</ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">友情链接</h3>
<div class="widget">
<ul>
<li>
<a href="http://xiguabaobao.com" target="_blank">主题作者</a>
</li>
<li>
<a href="http://reqianduan.com" target="_blank">热前端</a>
</li>
</ul>
</div>
</div>
</aside>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2015 John Doe<br>
Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
.
Theme by <a href="https://github.com/xiangming/landscape-plus" target="_blank">Landscape-plus</a>
</div>
</div>
</footer>
</div>
<nav id="mobile-nav">
<a href="/" class="mobile-nav-link">主页</a>
<a href="/archives" class="mobile-nav-link">归档</a>
</nav>
<!-- totop start -->
<div id="totop">
<a title="返回顶部"><img src="/img/scrollup.png"/></a>
</div>
<!-- totop end -->
<!-- 多说公共js代码 start -->
<script type="text/javascript">
var duoshuoQuery = {short_name:"closetao"};
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';ds.async = true;
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
|| document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
<!-- 多说公共js代码 end -->
<!-- 百度分享 start -->
<div id="article-share-box" class="article-share-box">
<div id="bdshare" class="bdsharebuttonbox article-share-links">
<a class="article-share-weibo" data-cmd="tsina" title="分享到新浪微博"></a>
<a class="article-share-weixin" data-cmd="weixin" title="分享到微信"></a>
<a class="article-share-qq" data-cmd="sqq" title="分享到QQ"></a>
<a class="article-share-renren" data-cmd="renren" title="分享到人人网"></a>
<a class="article-share-more" data-cmd="more" title="更多"></a>
</div>
</div>
<script>window._bd_share_config={"common":{},"share":{"bdCustomStyle":"/css/bdshare.css"}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/36e5)];</script>
<!-- 百度分享 end -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<! -- mathjax config similar to math.stackexchange -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
processEscapes: true
}
});
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
}
});
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Queue(function() {
var all = MathJax.Hub.getAllJax(), i;
for(i=0; i < all.length; i += 1) {
all[i].SourceElement().parentNode.className += ' has-jax';
}
});
</script>
<script type="text/javascript" src="http://cdn.bootcss.com/mathjax/2.5.3/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<script src="/js/script.js" type="text/javascript"></script>
</div>
</body>
</html>