hexo-theme-keep/layout/_partial/tools.ejs

24 lines
700 B
Plaintext
Raw Normal View History

<div class="tools-container">
<ul class="tools-list">
<% if (theme.local_search.enable && config.search) { %>
2020-04-02 22:07:55 +08:00
<li class="search popup-trigger">
<i class="fas fa-search"></i>
2020-04-02 22:07:55 +08:00
</li>
<% } %>
2020-10-29 15:42:58 +08:00
<% if (is_post() && (theme.comment.valine.enable || theme.comment.gitalk.enable)) { %>
<li class="go-comment">
<i class="fas fa-comment"></i>
2020-04-15 22:30:24 +08:00
</li>
<% } %>
<!-- TOC aside toggle -->
<% if (is_post() && theme.toc.enable) { %>
<li class="tools-item page-aside-toggle">
<i class="fas fa-outdent"></i>
2020-09-05 23:08:03 +08:00
</li>
<% } %>
</ul>
</div>