From e91423d6f2803efb006d539386dfcee02387d54b Mon Sep 17 00:00:00 2001 From: Reorx Date: Thu, 14 Apr 2022 17:45:57 +0800 Subject: use partial instead of partialCached for footer.html footer has involved a lot of config keys since our fork, sometimes the toc scroll behavior is broken due to cached footer is inconsistant with the current file --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default/baseof.html') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 349910a..5a694e7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -18,7 +18,7 @@
{{- block "main" . }}{{ end }}
- {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}} + {{ partial "footer.html" . -}} {{- block "body_end" . }}{{ end }} -- cgit v1.2.3