-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1042 lines (656 loc) · 33.6 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
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="zh-cn" itemscope itemtype="http://schema.org/WebPage">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>To be foolish - xqzhang2015</title>
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="MobileOptimized" content="width"/>
<meta name="HandheldFriendly" content="true"/>
<meta name="applicable-device" content="pc,mobile">
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="theme-color" content="#f8f5ec" />
<meta name="msapplication-navbutton-color" content="#f8f5ec">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec">
<meta name="mobile-web-app-capable" content="yes">
<meta name="author" content="xqzhang2015" />
<meta name="description" content="不要迷信." />
<meta name="keywords" content="Hugo, theme" />
<meta name="generator" content="Hugo 0.47.1" />
<link rel="canonical" href="https://xqzhang2015.github.io/" />
<link href="https://xqzhang2015.github.io/index.xml" rel="alternate" type="application/rss+xml" title="To be foolish - xqzhang2015" />
<link rel="icon" href="/favicon.ico" />
<link href="/dist/jane.min.css?v=2.7.0" rel="stylesheet">
<meta property="og:title" content="To be foolish - xqzhang2015" />
<meta property="og:description" content="不要迷信." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://xqzhang2015.github.io/" />
<meta property="og:updated_time" content="2017-08-20T21:38:52+08:00"/>
<meta itemprop="name" content="To be foolish - xqzhang2015">
<meta itemprop="description" content="不要迷信.">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="To be foolish - xqzhang2015"/>
<meta name="twitter:description" content="不要迷信."/>
<!--[if lte IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script>
<![endif]-->
<!--[if lt IE 9]>
<script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="mobile-navbar" class="mobile-navbar">
<div class="mobile-header-logo">
<a href="/" class="logo">To be foolish</a>
</div>
<div class="mobile-navbar-icon">
<span></span>
<span></span>
<span></span>
</div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
<ul class="mobile-menu-list">
<li class="mobile-menu-item">
<a class="menu-item-link" href="https://xqzhang2015.github.io/">Home</a>
</li><li class="mobile-menu-item">
<a class="menu-item-link" href="https://xqzhang2015.github.io/post/">Archives</a>
</li><li class="mobile-menu-item">
<a class="menu-item-link" href="https://xqzhang2015.github.io/tags/">Tags</a>
</li><li class="mobile-menu-item">
<a class="menu-item-link" href="https://xqzhang2015.github.io/about/">About</a>
</li><li class="mobile-menu-item">
<a class="menu-item-link" href="https://gohugo.io" rel="noopener" target="_blank">
external-link
<i class="iconfont icon-new-window"></i>
</a>
</li><li class="mobile-menu-item">
<a class="menu-item-link" href="https://xqzhang2015.github.io/categories/">Categories</a>
</li><li class="mobile-menu-item">
<div class="mobile-menu-parent">
<span class="mobile-submenu-open"></span>
<a href="https://xqzhang2015.github.io/">
docs
</a>
</div>
<ul class="mobile-submenu-list">
<li>
<a href="https://xqzhang2015.github.io/post/jane-theme-preview/">Jane Theme Preview</a>
</li>
<li>
<a href="https://xqzhang2015.github.io/post/shortcodes-preview/">Shortcodes Preview</a>
</li>
<li>
<a href="https://xqzhang2015.github.io/post/image-preview/">Image Preview</a>
</li>
<li>
<a href="https://xqzhang2015.github.io/post/syntax-highlighting/">Syntax Highlighting</a>
</li>
</ul>
</li>
</ul>
</nav>
<link rel="stylesheet" href="/lib/photoswipe/photoswipe.min.css" />
<link rel="stylesheet" href="/lib/photoswipe/default-skin/default-skin.min.css" />
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
<div class="pswp__bg"></div>
<div class="pswp__scroll-wrap">
<div class="pswp__container">
<div class="pswp__item"></div>
<div class="pswp__item"></div>
<div class="pswp__item"></div>
</div>
<div class="pswp__ui pswp__ui--hidden">
<div class="pswp__top-bar">
<div class="pswp__counter"></div>
<button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
<button class="pswp__button pswp__button--share" title="Share"></button>
<button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
<button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
<div class="pswp__preloader">
<div class="pswp__preloader__icn">
<div class="pswp__preloader__cut">
<div class="pswp__preloader__donut"></div>
</div>
</div>
</div>
</div>
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
<div class="pswp__share-tooltip"></div>
</div>
<button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
</button>
<button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
</button>
<div class="pswp__caption">
<div class="pswp__caption__center"></div>
</div>
</div>
</div>
</div>
<header id="header" class="header container">
<div class="logo-wrapper">
<a href="/" class="logo">
To be foolish
</a>
</div>
<nav class="site-navbar">
<ul id="menu" class="menu">
<li class="menu-item">
<a class="menu-item-link" href="https://xqzhang2015.github.io/">Home</a>
</li>
<li class="menu-item">
<a class="menu-item-link" href="https://xqzhang2015.github.io/post/">Archives</a>
</li>
<li class="menu-item">
<a class="menu-item-link" href="https://xqzhang2015.github.io/tags/">Tags</a>
</li>
<li class="menu-item">
<a class="menu-item-link" href="https://xqzhang2015.github.io/about/">About</a>
</li>
<li class="menu-item">
<a class="menu-item-link" href="https://gohugo.io" rel="noopener" target="_blank">
external-link
<i class="iconfont icon-new-window"></i>
</a>
</li>
<li class="menu-item">
<a class="menu-item-link" href="https://xqzhang2015.github.io/categories/">Categories</a>
</li>
<li class="menu-item">
<a class="menu-item-link menu-parent" href="https://xqzhang2015.github.io/">docs</a>
<ul class="submenu">
<li>
<a href="https://xqzhang2015.github.io/post/jane-theme-preview/">Jane Theme Preview</a>
</li>
<li>
<a href="https://xqzhang2015.github.io/post/shortcodes-preview/">Shortcodes Preview</a>
</li>
<li>
<a href="https://xqzhang2015.github.io/post/image-preview/">Image Preview</a>
</li>
<li>
<a href="https://xqzhang2015.github.io/post/syntax-highlighting/">Syntax Highlighting</a>
</li>
</ul>
</li>
</ul>
</nav>
</header>
<div id="mobile-panel">
<main id="main" class="main bg-llight">
<div class="content-wrapper">
<div id="content" class="content container">
<section id="posts" class="posts">
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/tool/iterm_zsh/">iTerm2 + zsh</a></h1>
<div class="post-meta">
<span class="post-time"> 2018-09-11 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/tool/"> tool </a>
<a href="https://xqzhang2015.github.io/categories/linux/"> linux </a>
<a href="https://xqzhang2015.github.io/categories/c++/"> C++ </a>
</div>
<span class="more-meta"> 约 325 字 </span>
<span class="more-meta"> 预计阅读 2 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
iTerm2 + zsh Install iTerm2 1 brew cask install iterm2 or Download and install iTerm2
Set solarized-dark color 1 2 Preferences > Profiles > Colors: Color Presets > Solarized Dark Install powerline/fonts powerline/fonts: Patched fonts for Powerline users. Here we install it to support agnoster.zsh-theme.
powerline/fonts git repo
Install by git-clone and run install.sh 1 2 3 4 5 6 7 8 # clone git clone https://github.
</div>
<div class="read-more">
<a href="/post/tool/iterm_zsh/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/arch/logrotate/">The journal of linux logrotate</a></h1>
<div class="post-meta">
<span class="post-time"> 2018-09-06 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/arch/"> arch </a>
<a href="https://xqzhang2015.github.io/categories/web-server/"> web server </a>
<a href="https://xqzhang2015.github.io/categories/linux/"> linux </a>
</div>
<span class="more-meta"> 约 669 字 </span>
<span class="more-meta"> 预计阅读 4 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
Overview test
Linux system cronjob cronjob: hourly, daily, … 1 2 [root@xxx run]# cd /etc/cron cron.d/ cron.daily/ cron.deny cron.hourly/ cron.monthly/ crontab cron.weekly/ logrotate calling 1 2 3 4 5 6 7 8 9 10 11 [root@xxx cron.daily]# pwd /etc/cron.daily [root@xxx cron.daily]# cat logrotate #!/bin/sh /usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf EXITVALUE=$? if [ $EXITVALUE != 0 ]; then /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]" fi exit 0 Logrotate manual 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 NAME logrotate ‐ rotates, compresses, and mails system logs SYNOPSIS logrotate [-dv] [-f|--force] [-s|--state file] config_file .
</div>
<div class="read-more">
<a href="/post/arch/logrotate/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/arch/lightty/">The journal of debug lightty access log not appending</a></h1>
<div class="post-meta">
<span class="post-time"> 2018-09-03 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/arch/"> arch </a>
<a href="https://xqzhang2015.github.io/categories/web-server/"> web server </a>
<a href="https://xqzhang2015.github.io/categories/linux/"> linux </a>
<a href="https://xqzhang2015.github.io/categories/c++/"> C++ </a>
</div>
<span class="more-meta"> 约 1084 字 </span>
<span class="more-meta"> 预计阅读 3 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
What I learned Why O_APPEND is needed: multiple process write the same file O_APPEND Before each write(2), the file offset is positioned at the end of the file, as if with lseek(2). The modification of the file offset and the write operation are performed as a single atomic step. fcntl(fd, F_SETFL, O_NONBLOCK); It will clear all file status flags firstly. UML: user mode linux With it, we could GDB linux
</div>
<div class="read-more">
<a href="/post/arch/lightty/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/shortcode-notice/">Shortcodes Notice Preview</a></h1>
<div class="post-meta">
<span class="post-time"> 2018-08-20 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/docs/"> docs </a>
<a href="https://xqzhang2015.github.io/categories/shortcodes/"> shortcodes </a>
<a href="https://xqzhang2015.github.io/categories/index/"> index </a>
</div>
<span class="more-meta"> 约 124 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
normal use Note example: 1 2 3 {{% notice note %}} A notice disclaimer {{% /notice %}} Result: note A notice disclaimer You could custom title : 1 2 3 {{% notice note 笔记 %}} A notice disclaimer {{% /notice %}} 笔记 A notice disclaimer tip 1 2 3 {{% notice tip %}} A tip disclaimer {{% /tip %}} tip A tip disclaimer tip-1th 1 I am a
</div>
<div class="read-more">
<a href="/post/shortcode-notice/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/jane-theme-preview/">Jane Theme Preview</a></h1>
<div class="post-meta">
<span class="post-time"> 2018-03-06 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/docs/"> docs </a>
<a href="https://xqzhang2015.github.io/categories/shortcodes/"> shortcodes </a>
<a href="https://xqzhang2015.github.io/categories/index/"> index </a>
</div>
<span class="more-meta"> 约 1507 字 </span>
<span class="more-meta"> 预计阅读 4 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
<p><strong>Markdown</strong> is created by <a href="http://daringfireball.net/">Daring Fireball</a>, the original guideline is <a href="http://daringfireball.net/projects/markdown/syntax">here</a>. Its syntax, however, varies between different parsers or editors.</p>
<p>Please note that HTML fragments in markdown source will be recognized but not parsed or rendered. Also, there may be small reformatting on the original markdown source code after saving.</p>
<p></p>
</div>
<div class="read-more">
<a href="/post/jane-theme-preview/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/jane-theme-preview/">Jane 主题预览</a></h1>
<div class="post-meta">
<span class="post-time"> 2018-03-06 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/shortcodes/"> shortcodes </a>
<a href="https://xqzhang2015.github.io/categories/index/"> index </a>
</div>
<span class="more-meta"> 约 12 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
主题预览,内容有待填充。
</div>
<div class="read-more">
<a href="/post/jane-theme-preview/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/shortcodes-preview/">Shortcodes Preview</a></h1>
<div class="post-meta">
<span class="post-time"> 2018-03-04 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/docs/"> docs </a>
<a href="https://xqzhang2015.github.io/categories/shortcodes/"> shortcodes </a>
<a href="https://xqzhang2015.github.io/categories/index/"> index </a>
</div>
<span class="more-meta"> 约 343 字 </span>
<span class="more-meta"> 预计阅读 2 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
<h2 id="what-a-shortcode-is">What a Shortcode is</h2>
<p>Hugo loves Markdown because of its simple content format, but there are times when Markdown falls short. Often, content authors are forced to add raw HTML (e.g., video <code><iframes></code>) to Markdown content. We think this contradicts the beautiful simplicity of Markdown’s syntax.</p>
<p>Hugo created <strong>shortcodes</strong> to circumvent these limitations.</p>
<p>A shortcode is a simple snippet inside a content file that Hugo will render using a predefined template. Note that shortcodes will not work in template files. If you need the type of drop-in functionality that shortcodes provide but in a template, you most likely want a [partial template][partials] instead.</p>
<p>In addition to cleaner Markdown, shortcodes can be updated any time to reflect new classes, techniques, or standards. At the point of site generation, Hugo shortcodes will easily merge in your changes. You avoid a possibly complicated search and replace operation.</p>
<p>More details: <a href="https://gohugo.io/content-management/shortcodes/">https://gohugo.io/content-management/shortcodes/</a></p>
<p></p>
</div>
<div class="read-more">
<a href="/post/shortcodes-preview/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/image-preview/">Image Preview</a></h1>
<div class="post-meta">
<span class="post-time"> 2018-03-03 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/docs/"> docs </a>
<a href="https://xqzhang2015.github.io/categories/shortcodes/"> shortcodes </a>
<a href="https://xqzhang2015.github.io/categories/index/"> index </a>
</div>
<span class="more-meta"> 约 536 字 </span>
<span class="more-meta"> 预计阅读 3 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
<p>Thanks for <a href="https://github.com/liwenyip/hugo-easy-gallery">liwenyip/hugo-easy-gallery</a> & <a href="https://github.com/xianmin/hugo-theme-jane/pull/48">Zebradil · Pull Request #48</a> .</p>
<p>Now, we could use <code>{{< gallery >}}</code> shortcode in hugo-theme-jane.</p>
<h2 id="normal-image">Normal Image</h2>
<p>This is an image in <code>static/image</code> folder.</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code class="language-markdown" data-lang="markdown"><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-markdown" data-lang="markdown">![<span class="nt">This is an image in `static/image` folder.</span>](<span class="na">/image/example.jpg</span>)</code></pre></td></tr></table>
</div>
</div>
<p><img src="/image/example.jpg" alt="This is an image in `static/image` folder." /></p>
<p></p>
</div>
<div class="read-more">
<a href="/post/image-preview/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/doc-footnote-preview/">Jane-Theme Footnote Preview</a></h1>
<div class="post-meta">
<span class="post-time"> 2018-03-01 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/docs/"> docs </a>
<a href="https://xqzhang2015.github.io/categories/index/"> index </a>
</div>
<span class="more-meta"> 约 278 字 </span>
<span class="more-meta"> 预计阅读 2 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
<p>Hugo-theme-jane optimized for footnote. When you mouse hover the footnote<sup class="footnote-ref" id="fnref:example"><a href="#fn:example">1</a></sup> , footnote content will be displayed.</p>
<p></p>
</div>
<div class="read-more">
<a href="/post/doc-footnote-preview/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/english-preview/">English Creating a New Theme</a></h1>
<div class="post-meta">
<span class="post-time"> 2017-08-31 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/english/"> English </a>
<a href="https://xqzhang2015.github.io/categories/index/"> index </a>
</div>
<span class="more-meta"> 约 7829 字 </span>
<span class="more-meta"> 预计阅读 37 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
<h2 id="introduction">Introduction</h2>
<p>This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I’ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won’t cover using CSS to style your theme.</p>
<p></p>
</div>
<div class="read-more">
<a href="/post/english-preview/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/this-is-a-very-long-title/">This is a very long title This is a very long title This is a very long title This is a very long title This is a very long title</a></h1>
<div class="post-meta">
<span class="post-time"> 2017-08-30 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/english/"> English </a>
<a href="https://xqzhang2015.github.io/categories/index/"> index </a>
<a href="https://xqzhang2015.github.io/categories/test/"> test </a>
</div>
<span class="more-meta"> 约 246 字 </span>
<span class="more-meta"> 预计阅读 2 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
This is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long title
</div>
<div class="read-more">
<a href="/post/this-is-a-very-long-title/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/creating-a-new-theme/">Creating a New Theme</a></h1>
<div class="post-meta">
<span class="post-time"> 2014-09-28 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/development/"> Development </a>
<a href="https://xqzhang2015.github.io/categories/golang/"> golang </a>
<a href="https://xqzhang2015.github.io/categories/index/"> index </a>
</div>
<span class="more-meta"> 约 7829 字 </span>
<span class="more-meta"> 预计阅读 37 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I’ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won’t cover using CSS to style your theme.
We’ll start with creating a new site with a very basic template.
</div>
<div class="read-more">
<a href="/post/creating-a-new-theme/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/algorithm/mit_algorithm_chapter15_dynamic_schedule/">MIT Algorithm - 15.动态规划</a></h1>
<div class="post-meta">
<span class="post-time"> 2014-08-30 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/algorithm/"> algorithm </a>
<a href="https://xqzhang2015.github.io/categories/c++/"> C++ </a>
<a href="https://xqzhang2015.github.io/categories/index/"> index </a>
</div>
<span class="more-meta"> 约 1 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
Todo.
</div>
<div class="read-more">
<a href="/post/algorithm/mit_algorithm_chapter15_dynamic_schedule/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/algorithm/mit_algorithm_chapter10_rbtree/">MIT Algorithm - 10.平衡搜索树-红黑树</a></h1>
<div class="post-meta">
<span class="post-time"> 2014-06-15 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/algorithm/"> algorithm </a>
<a href="https://xqzhang2015.github.io/categories/c++/"> C++ </a>
<a href="https://xqzhang2015.github.io/categories/index/"> index </a>
</div>
<span class="more-meta"> 约 1 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
Todo.
</div>
<div class="read-more">
<a href="/post/algorithm/mit_algorithm_chapter10_rbtree/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
<article class="post bg-white">
<header class="post-header">
<h1 class="post-title"><a class="post-link" href="/post/algorithm/mit_algorithm_chapter09_search_tree/">MIT Algorithm - 9.二叉搜索树</a></h1>
<div class="post-meta">
<span class="post-time"> 2014-06-12 </span>
<div class="post-category">
<a href="https://xqzhang2015.github.io/categories/algorithm/"> algorithm </a>
<a href="https://xqzhang2015.github.io/categories/c++/"> C++ </a>
<a href="https://xqzhang2015.github.io/categories/index/"> index </a>
</div>
<span class="more-meta"> 约 1 字 </span>
<span class="more-meta"> 预计阅读 1 分钟 </span>
</div>
</header>
<div class="post-content">
<div class="post-summary">
Todo.
</div>
<div class="read-more">
<a href="/post/algorithm/mit_algorithm_chapter09_search_tree/" class="read-more-link">阅读全文</a>
</div>
</div>
</article>
</section>
<nav class="pagination">
<ul>
<li class="active" >
<a href="/">1</a>
</li>
<li >
<a href="/page/2/">2</a>
</li>
</ul>
</nav>
</div>
</div>
</main>
<footer id="footer" class="footer">
<div class="social-links">
<a href="mailto:xqzhang2015@gmail.com" rel="me noopener" class="iconfont icon-email"
title="email" target="_blank">
</a>
<a href="http://localhost:1313" rel="me noopener" class="iconfont icon-stack-overflow"
title="stack-overflow" target="_blank">
</a>
<a href="http://localhost:1313" rel="me noopener" class="iconfont icon-twitter"
title="twitter" target="_blank">
</a>
<a href="http://localhost:1313" rel="me noopener" class="iconfont icon-facebook"
title="facebook" target="_blank">
</a>
<a href="http://localhost:1313" rel="me noopener" class="iconfont icon-linkedin"
title="linkedin" target="_blank">
</a>
<a href="http://localhost:1313" rel="me noopener" class="iconfont icon-google"
title="google" target="_blank">
</a>
<a href="http://localhost:1313" rel="me noopener" class="iconfont icon-github"
title="github" target="_blank">
</a>
<a href="http://localhost:1313" rel="me noopener" class="iconfont icon-weibo"
title="weibo" target="_blank">
</a>
<a href="http://localhost:1313" rel="me noopener" class="iconfont icon-zhihu"
title="zhihu" target="_blank">
</a>
<a href="http://localhost:1313" rel="me noopener" class="iconfont icon-douban"
title="douban" target="_blank">
</a>
<a href="http://localhost:1313" rel="me noopener" class="iconfont icon-pocket"
title="pocket" target="_blank">
</a>
<a href="http://localhost:1313" rel="me noopener" class="iconfont icon-tumblr"
title="tumblr" target="_blank">
</a>
<a href="http://localhost:1313" rel="me noopener" class="iconfont icon-instagram"
title="instagram" target="_blank">
</a>
<a href="http://en.xianmin.org/hugo-theme-jane/" rel="me noopener" class="iconfont icon-gitlab"
title="gitlab" target="_blank">
</a>
<a href="http://en.xianmin.org/hugo-theme-jane/" rel="me noopener" class="iconfont icon-goodreads"
title="goodreads" target="_blank">
</a>
<a href="https://xqzhang2015.github.io/index.xml" rel="noopener alternate" type="application/rss+xml" class="iconfont icon-rss"
title="rss" target="_blank">
</a>
</div>
<div class="copyright">
<span class="power-by">
Powered by <a class="hexo-link" href="https://gohugo.io">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
Theme - <a class="theme-link" href="https://github.com/xianmin/hugo-theme-jane">Jane</a>
</span>
<span class="copyright-year">
©
2017 -
2018
<span class="heart">
<i class="iconfont icon-heart"></i>