diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index 259f2df..56f981e 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -63,19 +63,26 @@ {% include "header.njk" %}
{% if includeTOC %} -
-
-

{{ h1 }}

-
- Table of Contents - {{ content | toc(tags=['h2', 'h3', 'h4'], wrapper='div') | removeHash | safe }} -
-
-
+
+
+

{{ h1 }}

+
+
+ Table of Contents + {{ content | toc(tags=['h2', 'h3', 'h4'], wrapper='div') | removeHash | safe }} +
+
+
+ {{ content | safe }} +
+
+
{% endif %} + {% if not includeTOC %}
{{ content | safe }}
+ {% endif %}
{% include "footer.njk" %} {% include "weather.njk" %} diff --git a/content/tags/tag-page-generator.njk b/content/tags/tag-page-generator.njk index eef5e62..526918c 100644 --- a/content/tags/tag-page-generator.njk +++ b/content/tags/tag-page-generator.njk @@ -10,6 +10,7 @@ pagination: - galleryImages - post - posts + - profilepic - tagList - tags - feed diff --git a/public/css/toc.css b/public/css/toc.css index f37abb0..0d57c18 100644 --- a/public/css/toc.css +++ b/public/css/toc.css @@ -1,5 +1,10 @@ +details.toc { + padding-bottom: var(--space-m); +} + .toc { & ol { + margin-bottom: 0; margin-top: 0; padding-left: var(--space-m); }