From dd376a22afe2659be5aadeb846fee49d2fc2d9b4 Mon Sep 17 00:00:00 2001 From: BurnyLlama Date: Wed, 4 Aug 2021 23:18:01 +0200 Subject: [PATCH] Small fixes. --- content/components/toc.njk | 3 ++- content/templates/article.njk | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/content/components/toc.njk b/content/components/toc.njk index 5ab3288..7c9613f 100644 --- a/content/components/toc.njk +++ b/content/components/toc.njk @@ -1,8 +1,9 @@ {% macro header(size, text) %} {% append "toc" %} - {{ text }} + {{ text }} {% endappend %} + <{{ size }}> {{ text }} diff --git a/content/templates/article.njk b/content/templates/article.njk index 791ba21..b57121d 100644 --- a/content/templates/article.njk +++ b/content/templates/article.njk @@ -21,7 +21,7 @@ - {% block body %}{% endblock %} + {% block main %}{% endblock %} \ No newline at end of file