From cd68f5fb5fe5df283121c81bb7639e150ce6b1fe Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sat, 13 Apr 2024 02:43:04 +0800 Subject: [PATCH] Remove Table of Contents conditionals --- src/_includes/main/base.njk | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/_includes/main/base.njk b/src/_includes/main/base.njk index 50a646de..c4afc66d 100644 --- a/src/_includes/main/base.njk +++ b/src/_includes/main/base.njk @@ -20,9 +20,6 @@ {# CSS #} - {% if toc %} - - {% endif %} {% if sitemap %} {% endif %} @@ -36,9 +33,6 @@ - {# JavaScript #} - {% if toc %} {% endif %} - {{ title }} | Leilukin's Hub @@ -49,11 +43,9 @@ {% endrenderTemplate %}
- {% if toc %} - - {% endif %} + {{ content | safe }}