From f5ef2ba05c8bbd61e7e04a761d61028bad871891 Mon Sep 17 00:00:00 2001 From: David Rotermund <54365609+davrot@users.noreply.github.com> Date: Sat, 2 Dec 2023 14:54:42 +0100 Subject: [PATCH] Update default.html Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com> --- _layouts/default.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 75cae3a..0a54bc2 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -296,13 +296,25 @@
- {{ content | toc }} -

+ + {% raw %} + {% if page.toc %} +

+ {% endif %} + {% endraw %} + {{ content }}