Add Tsu theme
This commit is contained in:
10
themes/hexo-theme-Tsu/layout/_partials/toc.ejs
Normal file
10
themes/hexo-theme-Tsu/layout/_partials/toc.ejs
Normal file
@@ -0,0 +1,10 @@
|
||||
<% if(is_post()){%>
|
||||
<div class="_toc">
|
||||
<strong class="toc-title">
|
||||
Contents
|
||||
</strong>
|
||||
<div class="toc-content">
|
||||
<%- toc(page.content, {list_number: false}) %>
|
||||
</div>
|
||||
</div>
|
||||
<%}%>
|
Reference in New Issue
Block a user