diff options
author | panda-z <panda.hust@gmail.com> | 2020-04-13 21:18:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 21:18:35 +0800 |
commit | 5657112dfb0e6eac2faa2ae1dc0978ed29030709 (patch) | |
tree | f22279cb587444b0649f95da647b60daf1f370e9 /layouts/partials/head.html | |
parent | d39d3e443953caea05510b19fdd7a259c71a0ab3 (diff) |
chore(build): drop webpack and use Hugo Pipes (#130)
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 3 |
1 files changed, 2 insertions, 1 deletions
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 -}} <!-- Styles --> -<link href="{{ print "dist/" .Site.Data.even.assets.even.css | relURL }}" rel="stylesheet"> +{{ $style := resources.Get "sass/main.scss" | toCSS | minify | fingerprint }} +<link href="{{ $style.Permalink }}" rel="stylesheet"> {{ if .Site.Params.publicCDN.enable -}} {{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxCSS | safeHTML }}{{ end }} {{- else -}} |