From 4342d322e0333ca7c2f4a0e2f58602240d22e1f3 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 15 May 2023 11:05:45 +0200 Subject: [PATCH] Opsplitsen van style in head, zodat deze gecached kan worden --- themes/nluug/layouts/_default/baseof.html | 1 + themes/nluug/layouts/partials/head.html | 4 +--- themes/nluug/layouts/partials/style.html | 3 +++ 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 themes/nluug/layouts/partials/style.html diff --git a/themes/nluug/layouts/_default/baseof.html b/themes/nluug/layouts/_default/baseof.html index 3e48e78..8c61cd5 100644 --- a/themes/nluug/layouts/_default/baseof.html +++ b/themes/nluug/layouts/_default/baseof.html @@ -44,5 +44,6 @@ + {{ partial "footer.html" . }} diff --git a/themes/nluug/layouts/partials/head.html b/themes/nluug/layouts/partials/head.html index d9c7ade..d1c37bb 100644 --- a/themes/nluug/layouts/partials/head.html +++ b/themes/nluug/layouts/partials/head.html @@ -12,9 +12,7 @@ - {{ $styles := resources.Get "scss/styles.scss" | toCSS (dict "outputStyle" "compressed") | minify }} - {{ $styles_extra := resources.Get "scss/_extra.scss" | toCSS (dict "outputStyle" "compressed") | minify }} - + {{ partialCached "style.html" . }}