diff options
author | amzrk2 | 2020-09-18 13:12:12 +0800 |
---|---|---|
committer | amzrk2 | 2020-09-18 13:12:12 +0800 |
commit | 23c676635239d6b76d9bdcf28d88e85fada10cd8 (patch) | |
tree | 432531dc2b5b5c10791955456a81ee3e1b4ce833 /layouts | |
parent | 919dc0dc912f09acf3cc851079705125c46fa595 (diff) | |
download | hugo-theme-fuji-23c676635239d6b76d9bdcf28d88e85fada10cd8.tar.gz hugo-theme-fuji-23c676635239d6b76d9bdcf28d88e85fada10cd8.tar.bz2 hugo-theme-fuji-23c676635239d6b76d9bdcf28d88e85fada10cd8.zip |
update: remove Gulp SCSS workflow
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 1bcdf85..993e1a9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -30,13 +30,9 @@ {{ template "_internal/twitter_cards.html" . }} <!-- dep --> {{ partial "styles.html" . }} -{{ if .Site.Params.useHugoPipes }} -{{ $options := (dict "targetPath" "assets/css/fuji-custom.min.css" "outputStyle" "compressed") }} +{{ $options := (dict "targetPath" "assets/css/fuji.min.css" "outputStyle" "compressed") }} {{ $style := resources.Get "scss/fuji.scss" | resources.ToCSS $options }} <link rel="stylesheet" href="{{ $style.Permalink }}" /> -{{ else }} -<link rel="stylesheet" href="{{ "/assets/css/fuji.min.css" | relURL }}" /> -{{ end }} {{ with .Site.Params.googleAdsense }} <script async data-ad-client="ca-pub-{{ . }}" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> {{ end}} |