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

50 lines
1.6 KiB
Plaintext
Raw Normal View History

<div class="side-tools-container">
<ul class="side-tools-list">
<li class="tools-item tool-font-adjust-plus flex-center">
<i class="fas fa-search-plus"></i>
</li>
<li class="tools-item tool-font-adjust-minus flex-center">
<i class="fas fa-search-minus"></i>
</li>
<li class="tools-item tool-dark-light-toggle flex-center">
<i class="fas fa-moon"></i>
</li>
2020-12-07 15:22:54 +08:00
<!-- rss -->
<% if (theme.rss.enable && config.feed) { %>
<li class="tools-item rss flex-center">
2021-01-06 23:53:17 +08:00
<a class="flex-center"
href="<%= '/' + config.feed.path %>"
target="_blank"
>
<i class="fas fa-rss"></i>
</a>
2020-12-07 15:22:54 +08:00
</li>
<% } %>
<% if (theme.style.scroll.percent !== true) { %>
<li class="tools-item tool-scroll-to-top flex-center">
<i class="fas fa-arrow-up"></i>
</li>
<% } %>
<li class="tools-item tool-scroll-to-bottom flex-center">
<i class="fas fa-arrow-down"></i>
</li>
</ul>
<ul class="exposed-tools-list">
<li class="tools-item tool-toggle-show flex-center">
2020-11-26 17:45:37 +08:00
<i class="fas fa-cog fa-spin"></i>
</li>
<% if (theme.style.scroll.percent === true) { %>
<li class="tools-item tool-scroll-to-top flex-center">
<i class="arrow-up fas fa-arrow-up"></i>
<span class="percent"></span>
</li>
<% } %>
</ul>
</div>