From 5657112dfb0e6eac2faa2ae1dc0978ed29030709 Mon Sep 17 00:00:00 2001 From: panda-z Date: Mon, 13 Apr 2020 21:18:35 +0800 Subject: chore(build): drop webpack and use Hugo Pipes (#130) --- layouts/partials/head.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d602390..7a9f3ea 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -61,7 +61,8 @@ {{- end -}} - +{{ $style := resources.Get "sass/main.scss" | toCSS | minify | fingerprint }} + {{ if .Site.Params.publicCDN.enable -}} {{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxCSS | safeHTML }}{{ end }} {{- else -}} -- cgit v1.2.3