hexo/node_modules/hexo-theme-fluid/layout/_partials/post/sidebar-left.ejs

11 lines
570 B
Plaintext
Raw Normal View History

2023-09-25 15:58:56 +08:00
<% if(theme.post.toc.enable && theme.post.toc.placement === 'left' && page.toc !== false){ %>
<aside class="sidebar" style="padding-left: 2rem; margin-right: -1rem">
<%- partial('_partials/post/toc') %>
</aside>
<% } else if (theme.post.category_bar.enable && theme.post.category_bar.placement !== 'right' && !page.hide &&
(!theme.post.category_bar.specific || (theme.post.category_bar.specific && page.category_bar))) { %>
<aside class="sidebar category-bar" style="margin-right: -1rem">
<%- partial('_partials/post/category-bar') %>
</aside>
<% } %>