sbbs/themes/hueman/layout/widget/catalog.ejs
2018-09-03 17:41:16 +10:00

11 lines
302 B
Plaintext

<% if (typeof(post) != 'undefined' && post.toc) { %>
<div class="widget-wrap widget-list">
<h3 class="widget-title"><%= __('sidebar.catalogue') %></h3>
<div class="widget">
<div id="toc" class="toc-article">
<%- toc(post.content) %>
</div>
</div>
</div>
<% } %>