From 60f139d529a00c90a75151912f3639060435a1d9 Mon Sep 17 00:00:00 2001 From: Reorx Date: Sat, 9 Apr 2022 23:59:22 +0800 Subject: add side class for toc if TocSide is true --- layouts/partials/toc.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/toc.html') diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html index d9b8b23..02a61e9 100644 --- a/layouts/partials/toc.html +++ b/layouts/partials/toc.html @@ -1,7 +1,7 @@ {{- $headers := findRE "(.|\n])+?" .Content -}} {{- $has_headers := ge (len $headers) 1 -}} {{- if $has_headers -}} -
+
{{- i18n "toc" | default "Table of Contents" }} -- cgit v1.2.3