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/scripts.html | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
(limited to 'layouts/partials/scripts.html')
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 2cfa68a..ad79dce 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -1,10 +1,6 @@
-{{ if .Site.Params.bootcdn -}}
-
-
- {{ if .Site.Params.fancybox }}{{ end }}
-{{- else if .Site.Params.publicCDN.enable -}}
+{{- if .Site.Params.publicCDN.enable }}
{{ .Site.Params.publicCDN.jquery | safeHTML }}
{{ .Site.Params.publicCDN.slideout | safeHTML }}
{{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxJs | safeHTML }}{{ end }}
--
cgit v1.2.3