diff --git a/templates/base.html b/templates/base.html index 8866dbd..d821cc5 100644 --- a/templates/base.html +++ b/templates/base.html @@ -14,6 +14,14 @@ {% endif %} {{ config.extra.site_title }} + {% include "head.html" %} diff --git a/templates/head.html b/templates/head.html index 6b4c5fd..8d5c9db 100644 --- a/templates/head.html +++ b/templates/head.html @@ -1,7 +1,5 @@ -{{ config.extra.site_title }} - diff --git a/templates/page.html b/templates/page.html index d64bd1c..6f8b1b1 100644 --- a/templates/page.html +++ b/templates/page.html @@ -4,6 +4,28 @@

{{ page.title }}

+ +{% if page.toc %} +

Table of Contents

+ +

Content

+{% endif %} +

{{ page.content | safe }} {% endblock content %}