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

18 lines
541 B
Plaintext
Raw Normal View History

2021-01-06 23:53:17 +08:00
<div class="post-tools-container">
<ul class="tools-list">
<!-- TOC aside toggle -->
<% if (theme.toc.enable) { %>
<li class="tools-item toggle-show-toc">
<i class="fas fa-list"></i>
2020-04-02 22:07:55 +08:00
</li>
<% } %>
<!-- go comment -->
<% if (theme.comment.enable === true && theme.comment.hasOwnProperty(theme.comment.use)) { %>
<li class="tools-item go-comment">
<i class="fas fa-comment"></i>
2020-04-15 22:30:24 +08:00
</li>
<% } %>
</ul>
</div>