26
26
< div class ="header-wrapper ">
27
27
< div class ="header-title ">
28
28
< a href ="/ " title ="Jam's Note "> < span class ="header-title-text "> Jam's Note</ span > </ a > </ div >
29
- < nav >
30
- < ul class ="menu "> < li
31
- class ="menu-item "
32
-
33
- >
34
- < a
35
- class ="menu-link "
36
- href ="/posts/ "
37
-
38
-
39
- > 文章</ a > </ li > < li
40
- class ="menu-item "
41
-
42
- >
43
- < a
44
- class ="menu-link "
45
- href ="/categories/ "
46
-
47
-
48
- > 分类</ a > </ li > < li
49
- class ="menu-item "
50
-
51
- >
52
- < a
53
- class ="menu-link "
54
- href ="/tags/ "
55
-
56
-
57
- > 标签</ a > </ li > < li class ="menu-item delimiter "> </ li > < li class ="menu-item search " id ="search-desktop ">
29
+ < div class ="menu ">
30
+ < div class ="menu-inner "> < a class ="menu-item " href ="/posts/ "> 文章 </ a > < a class ="menu-item " href ="/categories/ "> 分类 </ a > < a class ="menu-item " href ="/tags/ "> 标签 </ a > < span class ="menu-item delimiter "> </ span > < span class ="menu-item search " id ="search-desktop ">
58
31
< input type ="text " placeholder ="搜索文章标题或内容 ... " id ="search-input-desktop ">
59
32
< a href ="javascript:void(0); " class ="search-button search-toggle " id ="search-toggle-desktop " title ="搜索 ">
60
33
< i class ="fas fa-search fa-fw "> </ i >
65
38
< span class ="search-button search-loading " id ="search-loading-desktop ">
66
39
< i class ="fas fa-spinner fa-fw fa-spin "> </ i >
67
40
</ span >
68
- </ li > < li class ="menu-item theme-switch " title ="切换主题 ">
41
+ </ span > < a href =" javascript:void(0); " class ="menu-item theme-switch " title ="切换主题 ">
69
42
< i class ="fas fa-adjust fa-fw "> </ i >
70
- </ li >
71
- </ ul >
72
- </ nav >
43
+ </ a >
44
+ </ div >
45
+ </ div >
73
46
</ div >
74
47
</ header > < header class ="mobile " id ="header-mobile ">
75
48
< div class ="header-container ">
80
53
< span > </ span > < span > </ span > < span > </ span >
81
54
</ div >
82
55
</ div >
83
- < nav >
84
- < ul class ="menu " id ="menu-mobile "> < li class ="search-wrapper ">
85
- < div class ="search mobile " id ="search-mobile ">
86
- < input type ="text " placeholder ="搜索文章标题或内容 ... " id ="search-input-mobile ">
87
- < a href ="javascript:void(0); " class ="search-button search-toggle " id ="search-toggle-mobile " title ="搜索 ">
88
- < i class ="fas fa-search fa-fw "> </ i >
89
- </ a >
90
- < a href ="javascript:void(0); " class ="search-button search-clear " id ="search-clear-mobile " title ="清空 ">
91
- < i class ="fas fa-times-circle fa-fw "> </ i >
92
- </ a >
93
- < span class ="search-button search-loading " id ="search-loading-mobile ">
94
- < i class ="fas fa-spinner fa-fw fa-spin "> </ i >
95
- </ span >
96
- </ div >
97
- < a href ="javascript:void(0); " class ="search-cancel " id ="search-cancel-mobile ">
98
- 取消
56
+ < div class ="menu " id ="menu-mobile "> < div class ="search-wrapper ">
57
+ < div class ="search mobile " id ="search-mobile ">
58
+ < input type ="text " placeholder ="搜索文章标题或内容 ... " id ="search-input-mobile ">
59
+ < a href ="javascript:void(0); " class ="search-button search-toggle " id ="search-toggle-mobile " title ="搜索 ">
60
+ < i class ="fas fa-search fa-fw "> </ i >
99
61
</ a >
100
- </ li > < li
101
- class ="menu-item "
102
- > < a
103
- class ="menu-link "
104
- href ="/posts/ "
105
-
106
-
107
- > 文章</ a > </ li > < li
108
- class ="menu-item "
109
- > < a
110
- class ="menu-link "
111
- href ="/categories/ "
112
-
113
-
114
- > 分类</ a > </ li > < li
115
- class ="menu-item "
116
- > < a
117
- class ="menu-link "
118
- href ="/tags/ "
119
-
120
-
121
- > 标签</ a > </ li > < li class ="menu-item theme-switch " title ="切换主题 ">
122
- < i class ="fas fa-adjust fa-fw "> </ i >
123
- </ li > </ ul >
124
- </ nav >
62
+ < a href ="javascript:void(0); " class ="search-button search-clear " id ="search-clear-mobile " title ="清空 ">
63
+ < i class ="fas fa-times-circle fa-fw "> </ i >
64
+ </ a >
65
+ < span class ="search-button search-loading " id ="search-loading-mobile ">
66
+ < i class ="fas fa-spinner fa-fw fa-spin "> </ i >
67
+ </ span >
68
+ </ div >
69
+ < a href ="javascript:void(0); " class ="search-cancel " id ="search-cancel-mobile ">
70
+ 取消
71
+ </ a >
72
+ </ div > < a class ="menu-item " href ="/posts/ " title =""> 文章</ a > < a class ="menu-item " href ="/categories/ " title =""> 分类</ a > < a class ="menu-item " href ="/tags/ " title =""> 标签</ a > < a href ="javascript:void(0); " class ="menu-item theme-switch " title ="切换主题 ">
73
+ < i class ="fas fa-adjust fa-fw "> </ i >
74
+ </ a > </ div >
125
75
</ div >
126
76
</ header >
127
77
< div class ="search-dropdown desktop ">
@@ -142,7 +92,7 @@ <h1 id="error-emoji"></h1>
142
92
document . getElementById ( 'error-emoji' ) . appendChild ( document . createTextNode ( emojiArray [ Math . floor ( Math . random ( ) * emojiArray . length ) ] ) ) ;
143
93
} ) ( ) ;
144
94
</ script > </ main > < footer class ="footer ">
145
- < div class ="footer-container "> < div class ="footer-line powered "> 由 < a href ="https://gohugo.io/ " target ="_blank " rel ="external nofollow noopener noreffer " title ="Hugo 0.88.1 "> Hugo</ a > 强力驱动 | 主题 - < a href ="https://github.com/Lruihao/FixIt " target ="_blank " rel ="external nofollow noopener noreffer " title ="FixIt 0.2.14 "> < img class ="fixit-icon " src ="/images/fixit.svg " alt ="FixIt logo " /> FixIt</ a >
95
+ < div class ="footer-container "> < div class ="footer-line powered "> 由 < a href ="https://gohugo.io/ " target ="_blank " rel ="external nofollow noopener noreffer " title ="Hugo 0.88.1 "> Hugo</ a > 强力驱动 | 主题 - < a href ="https://github.com/Lruihao/FixIt " target ="_blank " rel ="external nofollow noopener noreffer " title ="FixIt 0.2.13 "> < img class ="fixit-icon " src ="/images/fixit.svg " alt ="FixIt logo " /> FixIt</ a >
146
96
</ div > </ div >
147
97
</ footer > </ div >
148
98
@@ -151,5 +101,5 @@ <h1 id="error-emoji"></h1>
151
101
</ a > < a href ="# " id ="view-comments " class ="fixed-button " title ="查看评论 ">
152
102
< i class ="fas fa-comment fa-fw "> </ i >
153
103
</ a >
154
- </ div > < script type ="text/javascript " src ="/lib/autocomplete/autocomplete.min.js " defer > </ script > < script type ="text/javascript " src ="/lib/lunr/lunr.min.js " defer > </ script > < script type ="text/javascript " src ="/lib/lunr/lunr.stemmer.support.min.js " defer > </ script > < script type ="text/javascript " src ="/lib/lunr/lunr.zh.min.js " defer > </ script > < script type ="text/javascript " src ="/lib/lazysizes/lazysizes.min.js " async defer > </ script > < script type ="text/javascript "> window . config = { "code" :{ "copyTitle" :"复制到剪贴板" , "editLockTitle" :"锁定可编辑代码块" , "editUnLockTitle" :"解锁可编辑代码块" , "editable" :true , "maxShownLines" :10 } , "enablePWA" :null , "search" :{ "highlightTag" :"em" , "lunrLanguageCode" :"zh" , "lunrSegmentitURL" :"/lib/lunr/lunr.segmentit.js" , "maxResultLength" :10 , "noResultsFound" :"没有找到结果" , "snippetLength" :50 } } ; </ script > < script type ="text/javascript " src ="/js/theme.min.js " defer > </ script > </ body >
104
+ </ div > < script type ="text/javascript " src ="/lib/autocomplete/autocomplete.min.js " defer > </ script > < script type ="text/javascript " src ="/lib/lunr/lunr.min.js " defer > </ script > < script type ="text/javascript " src ="/lib/lunr/lunr.stemmer.support.min.js " defer > </ script > < script type ="text/javascript " src ="/lib/lunr/lunr.zh.min.js " defer > </ script > < script type ="text/javascript " src ="/lib/lazysizes/lazysizes.min.js " async defer > </ script > < script type ="text/javascript " src =" /lib/clipboard/clipboard.min.js " defer > </ script > < script type =" text/javascript " > window . config = { "code" :{ "copyTitle" :"复制到剪贴板" , "editLockTitle" :"锁定可编辑代码块" , "editUnLockTitle" :"解锁可编辑代码块" , "editable" :true , "maxShownLines" :10 } , "enablePWA" :null , "search" :{ "highlightTag" :"em" , "lunrLanguageCode" :"zh" , "lunrSegmentitURL" :"/lib/lunr/lunr.segmentit.js" , "maxResultLength" :10 , "noResultsFound" :"没有找到结果" , "snippetLength" :50 } } ; </ script > < script type ="text/javascript " src ="/js/theme.min.js " defer > </ script > </ body >
155
105
</ html >
0 commit comments