From 914bf54c493b299268c293be33a8babf99b1cce2 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Thu, 4 Jun 2020 20:08:43 +0800 Subject: Custom scss variable support --- layouts/partials/head.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 289c067..2d7362c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -36,8 +36,14 @@ {{ if .Site.Params.mainAssetsCDN }} {{ else }} +{{ if .Site.Params.useHugoPipes }} +{{ $options := (dict "targetPath" "assets/css/fuji-custom.min.css" "outputStyle" "compressed") }} +{{ $style := resources.Get "scss/fuji.scss" | resources.ToCSS $options }} + +{{ else }} {{ end }} +{{ end }} {{ if .Params.playerURL }} {{ end }} -- cgit v1.2.3