From 9a8fc75e1fb29329b3a0b26c64635b6b6c02cdf5 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Fri, 17 Mar 2023 20:07:13 +0100 Subject: [PATCH] Make use of partialCached for cookiconsent and math. --- layouts/_default/baseof.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e400ed0..8660939 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,7 +10,7 @@ {{ partial "meta_json_ld.html" . }} {{ partial "scripts.html" . }} {{ partialCached "tracking.html" . }} -{{ if $.Param "math" }}{{ partial "math.html" . }}{{ end -}} +{{ if $.Param "math" }}{{ partialCached "math.html" . }}{{ end -}} @@ -44,7 +44,7 @@ {{ if $.Param "poweredby" }}

Powered by Hugo and the Zen theme.

{{ end }} -{{ if $.Param "cookieconsent" }}{{ partial "cookieconsent.html" . }}{{ end -}} +{{ if $.Param "cookieconsent" }}{{ partialCached "cookieconsent.html" . }}{{ end -}}