diff options
author | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2018-01-31 22:14:48 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2018-01-31 22:14:48 +0800 |
commit | 8c2030327fd534e2cdb267b76ac67c04de275e63 (patch) | |
tree | e130886adeef0ad7f99f3c8a920de7a0dd0f98c8 /layouts/partials/head.html | |
parent | 259d3dec1ae78e617b76ebeecd357218702d3d30 (diff) |
refactor: remove deprecated `bootcdn` param
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f60cac6..c87ddf6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -62,9 +62,7 @@ <!-- Styles --> <link href="{{ "dist/even.min.css?v=2.7.2" | relURL }}" rel="stylesheet"> -{{ if .Site.Params.bootcdn -}} - {{ if .Site.Params.fancybox }}<link href="https://cdn.bootcss.com/fancybox/3.1.20/jquery.fancybox.min.css" rel="stylesheet" crossorigin="anonymous">{{ end }} -{{- else if .Site.Params.publicCDN.enable -}} +{{ if .Site.Params.publicCDN.enable -}} {{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxCss | safeHTML }}{{ end }} {{- else -}} {{ if .Site.Params.fancybox }}<link href="{{ "lib/fancybox/jquery.fancybox-3.1.20.min.css" | relURL }}" rel="stylesheet">{{ end }} |