aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-07-06 22:50:37 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-07-06 22:50:37 +0800
commitfcb48d9be078df0420ff98228fee4ac1b013f47b (patch)
tree8cc474c4c2cfbe29dead77a59eb805fb608f2891 /layouts/partials/head.html
parent90a17f8540f33b87fabc71bf22910c4d6792827c (diff)
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 |
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html6
1 files changed, 3 insertions, 3 deletions
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 }}
<!-- baidu & google verification -->
-{{ with .Site.Params.baidu_verification }}<meta name="baidu-site-verification" content="{{.}}" />{{ end }}
-{{ with .Site.Params.google_verification }}<meta name="google-site-verification" content="{{.}}" />{{ end }}
+{{ with .Site.Params.baiduVerification }}<meta name="baidu-site-verification" content="{{.}}" />{{ end }}
+{{ with .Site.Params.googleVerification }}<meta name="google-site-verification" content="{{.}}" />{{ end }}
<!-- Site Generator -->
<meta name="generator" content="Hugo {{ .Hugo.Version }}" />
@@ -63,7 +63,7 @@
<!-- Styles -->
<link href="{{ "dist/even.min.css?v=3.2.0" | relURL }}" rel="stylesheet">
{{ 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 }}<link href="{{ "lib/fancybox/jquery.fancybox-3.1.20.min.css" | relURL }}" rel="stylesheet">{{ end }}
{{- end }}