From c1b1f017a9d040560c3b0cb6bd2e19098008077e Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 12 Apr 2022 11:25:28 +0200 Subject: [PATCH] Add comment --- layouts/partials/content.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/partials/content.html b/layouts/partials/content.html index e7a71a6..c336a97 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -14,6 +14,7 @@ {{ if .TableOfContents }} {{ $headers := findRE "(.|\n])+?" .Content }} + {{ if ge (len $headers) 4 }}
{{ .TableOfContents }}