summaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorDSRKafuU2020-06-13 00:45:30 +0800
committerGitHub2020-06-13 00:45:30 +0800
commit1a9b75fa6216334d0a9a1c379dba212888ce6f76 (patch)
tree7c2790788da7b3fd41a8775b058b62cff581be5f /layouts/partials/head.html
parent1d734cd6b1566f5b99e3aafa389b0ff2f847b52c (diff)
parentd6a2a5d08804ce712185a41229d531a96d03fe95 (diff)
downloadhugo-theme-fuji-1a9b75fa6216334d0a9a1c379dba212888ce6f76.tar.gz
hugo-theme-fuji-1a9b75fa6216334d0a9a1c379dba212888ce6f76.tar.bz2
hugo-theme-fuji-1a9b75fa6216334d0a9a1c379dba212888ce6f76.zip
Merge pull request #29 from amzrk2/dev
Release v2.0.1
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 2d7362c..0603c4d 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -33,9 +33,6 @@
{{ template "_internal/twitter_cards.html" . }}
<!-- dep -->
-{{ if .Site.Params.mainAssetsCDN }}
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/amzrk2/hugo-theme-fuji@2.0/dist/fuji.min.css" />
-{{ 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 }}
@@ -43,7 +40,7 @@
{{ else }}
<link rel="stylesheet" href="{{ "/assets/css/fuji.min.css" | relURL }}" />
{{ end }}
-{{ end }}
+
{{ if .Params.playerURL }}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.css" />
{{ end }}