From 8c2030327fd534e2cdb267b76ac67c04de275e63 Mon Sep 17 00:00:00 2001
From: olOwOlo <26087907+olOwOlo@users.noreply.github.com>
Date: Wed, 31 Jan 2018 22:14:48 +0800
Subject: refactor: remove deprecated `bootcdn` param
---
layouts/partials/head.html | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
(limited to 'layouts/partials/head.html')
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 @@
-{{ if .Site.Params.bootcdn -}}
- {{ if .Site.Params.fancybox }}{{ 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 }}{{ end }}
--
cgit v1.2.3