add pelican-toc plugin support

This commit is contained in:
Qian Gu 2020-04-23 08:49:40 +08:00
parent 9d672dba84
commit 8f7acbcf7c
2 changed files with 7 additions and 0 deletions

View file

@ -46,6 +46,12 @@
</script>
{% endif %}
{% if article.toc %}
<div class="col-lg-3 hidden-xs hidden-sm">
{{article.toc}}
</div>
{% endif %}
<div>
{{ article.content }}
</div>