diff options
| author | Reorx <novoreorx@gmail.com> | 2022-04-14 17:45:57 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-04-14 17:47:01 +0800 |
| commit | e91423d6f2803efb006d539386dfcee02387d54b (patch) | |
| tree | 6be1db12819421225be8380c217f79f48d4ae280 /layouts/_default | |
| parent | ad52cd9e5153de1131f519ac101dee1c38aef104 (diff) | |
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
Diffstat (limited to 'layouts/_default')
| -rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <main class="main {{- if (eq .Kind `page`) -}}{{- print " post" -}}{{- end -}}"> {{- block "main" . }}{{ end }} </main> - {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}} + {{ partial "footer.html" . -}} {{- block "body_end" . }}{{ end }} </body> |
