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

24 lines
633 B
Plaintext

<div class="tools-container">
<ul class="tools-list">
<% if (theme.local_search.enable && config.search) { %>
<li class="search popup-trigger">
<i class="fa fa-search"></i>
</li>
<% } %>
<% if (is_post()) { %>
<li class="go-comment">
<i class="fa fa-comment"></i>
</li>
<% } %>
<!-- TOC aside toggle -->
<% if (theme.toc.enable && is_post()) { %>
<li class="tools-item page-aside-toggle">
<i class="fa fa-outdent"></i>
</li>
<% } %>
</ul>
</div>