From f7fa67b81eb263cc17304b2e53dcf20f30fed3d4 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Tue, 25 May 2021 01:11:29 +0200 Subject: [PATCH] Add ToC at beginning of posts --- themes/chosto/layouts/_default/single.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/themes/chosto/layouts/_default/single.html b/themes/chosto/layouts/_default/single.html index 40c130d..7dd6e75 100644 --- a/themes/chosto/layouts/_default/single.html +++ b/themes/chosto/layouts/_default/single.html @@ -24,6 +24,11 @@
+
+
Sommaire
+ +
{{ .TableOfContents | replaceRE " +
{{ .Content }}