add pelican-toc plugin support
This commit is contained in:
parent
9d672dba84
commit
8f7acbcf7c
2 changed files with 7 additions and 0 deletions
|
@ -43,6 +43,7 @@ The minimalist [Pelican](http://blog.getpelican.com/) theme.
|
|||
- [Representative image](https://github.com/getpelican/pelican-plugins/tree/master/representative_image) (new in 2.2.0)
|
||||
- [Neighbors](https://github.com/getpelican/pelican-plugins/tree/master/neighbors) (new in 2.2.0)
|
||||
- [Tipue Search](https://github.com/getpelican/pelican-plugins/blob/master/tipue_search/)
|
||||
- [pelican-toc](https://github.com/ingwinlu/pelican-toc)
|
||||
|
||||
## Install
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue