diff --git a/_layouts/distill.liquid b/_layouts/distill.liquid index d6bae39..d9e8684 100644 --- a/_layouts/distill.liquid +++ b/_layouts/distill.liquid @@ -67,7 +67,7 @@ {% endif %} - {% if page.toc %} + {% if page.toc and page.toc.size > 0 %} + + {% elsif page.toc == true %} + + + {% endif %} + {{ content }}