From 97607c3ca5ac837f7f6bc7a048b72a8271fbd570 Mon Sep 17 00:00:00 2001
From: benbohmer <103453816+benbohmer@users.noreply.github.com>
Date: Tue, 03 May 2022 07:10:45 +0000
Subject: [PATCH] fix: keep / at end of URL to avoid redirects
---
layouts/index.html | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index d449c27..ee33d7c 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -13,12 +13,7 @@
{{partial "darkmode.html" .}}
</header>
<article>
- {{ if (and $.Site.Data.config.enableToc (not (.Params.disableToc))) }}
- <aside class="mainTOC">
- <h3>Table of Contents</h3>
- {{ .TableOfContents }}
- </aside>
- {{end}}
+ {{partial "toc.html" .}}
{{partial "textprocessing.html" . }}
</article>
{{partial "footer.html" .}}
--
Gitblit v1.10.0