Added support 'Table of Content' [Toc]

This commit is contained in:
Jesús
2019-11-11 17:51:26 -05:00
parent e4a8f433b6
commit c6d0c67bc0
6 changed files with 262 additions and 8 deletions

View File

@@ -77,6 +77,12 @@
<div class="card-inner-wrapper">
<!-- post text -->
<div class="card-content-text has-text-justified">
{% if article.toc %}
<nav class="toc">
{{ article.toc }}
</nav>
{% endif %}
{{ article.content }}
</div>
<!-- end of post text -->