From fcb48d9be078df0420ff98228fee4ac1b013f47b Mon Sep 17 00:00:00 2001
From: olOwOlo <26087907+olOwOlo@users.noreply.github.com>
Date: Fri, 6 Jul 2018 22:50:37 +0800
Subject: refactor(param): camelcase for parameter names
BREAKING CHANGE: Rename parameter names.
| origin | now |
| :------: |:--------:|
| fancyboxJ**s** | fancyboxJ**S** |
| fancyboxC**ss**| fancyboxC**SS**|
| baidu_push | baidu**P**ush |
| baidu_analytics | baidu**A**nalytics |
| baidu_verification | baidu**V**erification |
| google_verification | google**V**erification |
---
layouts/partials/head.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'layouts/partials/head.html')
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 86ab6cf..19c000c 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -29,8 +29,8 @@
{{- end }}
-{{ with .Site.Params.baidu_verification }}{{ end }}
-{{ with .Site.Params.google_verification }}{{ end }}
+{{ with .Site.Params.baiduVerification }}{{ end }}
+{{ with .Site.Params.googleVerification }}{{ end }}
@@ -63,7 +63,7 @@
{{ if .Site.Params.publicCDN.enable -}}
- {{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxCss | safeHTML }}{{ end }}
+ {{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxCSS | safeHTML }}{{ end }}
{{- else -}}
{{ if .Site.Params.fancybox }}{{ end }}
{{- end }}
--
cgit v1.2.3