From a81a933ab806dabbc6720d98f470c6a5edcd9a15 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Sat, 11 Jan 2020 23:45:58 +0100 Subject: implemented static TOC #57 Thanks to @vzickus for the suggestion --- _includes/git-wiki/sections/content/content.html | 10 +--------- _includes/git-wiki/sections/head/scripts.html | 1 - _includes/git-wiki/sections/tail/tail.html | 11 ----------- 3 files changed, 1 insertion(+), 21 deletions(-) (limited to '_includes/git-wiki/sections') diff --git a/_includes/git-wiki/sections/content/content.html b/_includes/git-wiki/sections/content/content.html index 73c7b5b..b356968 100644 --- a/_includes/git-wiki/sections/content/content.html +++ b/_includes/git-wiki/sections/content/content.html @@ -3,15 +3,7 @@ {% include git-wiki/sections/tools/tools.html %} - {% if site.inc_before_toc %} - {% include {{ site.inc_before_toc }} %} - {% endif %} - -
- - {% if site.inc_after_toc %} - {% include {{ site.inc_after_toc }} %} - {% endif %} + {% include git-wiki/components/toc/toc.html %} {% if site.inc_before_content %} {% include {{ site.inc_before_content }} %} diff --git a/_includes/git-wiki/sections/head/scripts.html b/_includes/git-wiki/sections/head/scripts.html index 65ee4ff..9cf23f3 100644 --- a/_includes/git-wiki/sections/head/scripts.html +++ b/_includes/git-wiki/sections/head/scripts.html @@ -4,7 +4,6 @@ -