From d50b81cc0553c61f01961d1b765f4906b2a86f42 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 25 Aug 2021 10:52:41 +0200 Subject: [PATCH] Add style partial --- layouts/_default/baseof.html | 1 + layouts/partials/style.html | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 layouts/partials/style.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ee21374..1343f19 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,6 +3,7 @@ {{ partial "title-item.html" . }}{{ .Site.Title }} + {{ partial "style.html" "scss/style.scss" }} {{ block "main" . }}{{ end }} diff --git a/layouts/partials/style.html b/layouts/partials/style.html new file mode 100644 index 0000000..4615816 --- /dev/null +++ b/layouts/partials/style.html @@ -0,0 +1,2 @@ +{{ $style := resources.Get . | toCSS | minify | fingerprint }} +