modified: header
This commit is contained in:
parent
1873feb5e8
commit
0b45c5e534
|
@ -49,7 +49,7 @@ highlight_theme: normal
|
|||
# You can get your appid and appkey from https://leancloud.cn
|
||||
# more info please open https://github.com/xCss/Valine
|
||||
valine:
|
||||
enable: true
|
||||
enable: false
|
||||
appid: # your leancloud application appid
|
||||
appkey: # your leancloud application appkey
|
||||
notify: false # mail notifier, https://github.com/xCss/Valine/wiki
|
||||
|
@ -79,7 +79,7 @@ busuanzi_count:
|
|||
# Local Search
|
||||
# Dependencies: https://github.com/theme-next/hexo-generator-searchdb
|
||||
local_search:
|
||||
enable: true
|
||||
enable: false
|
||||
# If auto, trigger search by changing input.
|
||||
# If manual, trigger search by pressing enter key or search button.
|
||||
trigger: auto
|
||||
|
|
|
@ -7,19 +7,20 @@
|
|||
</a>
|
||||
|
||||
<ul class="menu-list vertical-center">
|
||||
<li class="">
|
||||
<a href="">HOME</a>
|
||||
<% for (let i in theme.menu) { %>
|
||||
<li class="menu-item">
|
||||
<a class="<%- isInHomePaging(page.path, theme.menu[i]) ? 'current' : is_current(theme.menu[i]) ? 'current' : '' %>"
|
||||
href="<%- url_for(theme.menu[i]) %>"><%= __(i.toLowerCase()) %></a>
|
||||
</li>
|
||||
<li class="">
|
||||
<a href="/">ARCHIVE</a>
|
||||
</li>
|
||||
<li class="">
|
||||
<a href="/">ABOUT</a>
|
||||
</li>
|
||||
<li class="">
|
||||
<a href=""><i class="fa fa-search"></i></a>
|
||||
<% } %>
|
||||
<% if (theme.local_search.enable) { %>
|
||||
<li>
|
||||
<button class="search-btn btn popup-trigger"><i class="fa fa-search"></i></button>
|
||||
</li>
|
||||
<%- next_js('local-search.js') %>
|
||||
<% } %>
|
||||
</ul>
|
||||
|
||||
<div class="menu-bar vertical-center">
|
||||
<i class="fa fa-bars"></i>
|
||||
</div>
|
||||
|
@ -27,15 +28,11 @@
|
|||
|
||||
<div class="header-drawer">
|
||||
<ul class="drawer-menu-list">
|
||||
<li class="drawer-menu-item drawer-menu-active">
|
||||
<a href="">HOME</a>
|
||||
</li>
|
||||
<li class="drawer-menu-item">
|
||||
<a href="/">ARCHIVE</a>
|
||||
</li>
|
||||
<li class="drawer-menu-item">
|
||||
<a href="/">ABOUT</a>
|
||||
<% for (let i in theme.menu) { %>
|
||||
<li class="drawer-menu-item <%- isInHomePaging(page.path, theme.menu[i]) ? 'drawer-menu-active' : is_current(theme.menu[i]) ? 'drawer-menu-active' : '' %>">
|
||||
<a href="<%- url_for(theme.menu[i]) %>"><%= __(i.toLowerCase()) %></a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue