diff --git a/README.md b/README.md index 2d08619..97543b6 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/templates/article.html b/templates/article.html index e4aaddd..a5806ae 100644 --- a/templates/article.html +++ b/templates/article.html @@ -46,6 +46,12 @@ {% endif %} + {% if article.toc %} +
+ {% endif %} +