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 --- _layouts/git-wiki-bs-github.html | 10 +--------- _layouts/git-wiki-bs-lux.html | 10 +--------- _layouts/git-wiki-bs-united.html | 10 +--------- 3 files changed, 3 insertions(+), 27 deletions(-) (limited to '_layouts') diff --git a/_layouts/git-wiki-bs-github.html b/_layouts/git-wiki-bs-github.html index 8237c4b..b2b0788 100644 --- a/_layouts/git-wiki-bs-github.html +++ b/_layouts/git-wiki-bs-github.html @@ -33,15 +33,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/_layouts/git-wiki-bs-lux.html b/_layouts/git-wiki-bs-lux.html index 04085e4..5cc4a27 100644 --- a/_layouts/git-wiki-bs-lux.html +++ b/_layouts/git-wiki-bs-lux.html @@ -46,15 +46,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/_layouts/git-wiki-bs-united.html b/_layouts/git-wiki-bs-united.html index 2130a9a..556bcd3 100644 --- a/_layouts/git-wiki-bs-united.html +++ b/_layouts/git-wiki-bs-united.html @@ -32,15 +32,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 }} %} -- cgit