From ddb95c4a87bfb58c8aaf333207ed98b136c40c8b Mon Sep 17 00:00:00 2001 From: paspo Date: Thu, 10 Oct 2024 13:53:10 +0200 Subject: [PATCH] style css integrity --- layouts/partials/head/head.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html index bfaa21c..8e0917f 100644 --- a/layouts/partials/head/head.html +++ b/layouts/partials/head/head.html @@ -3,7 +3,12 @@ {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }} - -{{- partial "analytics/google-tag-manager/head.html" . -}} +{{ if hugo.IsDevelopment }} + +{{ else }} + {{ with $style | minify | fingerprint }} + + {{ end }} +{{ end }} {{- partial "head/custom.html" . -}} {{- template "_internal/twitter_cards.html" . -}}