From 5e356c5f635d45f0241854d9f43f38b2f0bd44f9 Mon Sep 17 00:00:00 2001
From: olOwOlo <26087907+olOwOlo@users.noreply.github.com>
Date: Tue, 10 Jul 2018 01:41:34 +0800
Subject: style(*): google js style & trim whitespace
---
layouts/partials/head.html | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
(limited to 'layouts/partials/head.html')
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 9b5c840..b38f160 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -14,16 +14,16 @@
{{- if .Description -}}
-{{ else if .IsPage }}
+{{- else if .IsPage -}}
-{{ else if .Site.Params.description }}
+{{- else if .Site.Params.description -}}
{{- end -}}
{{- if .Keywords -}}
{{ $length := len .Keywords | add -1 -}}
-{{ else if .Site.Params.keywords }}
+{{- else if .Site.Params.keywords -}}
{{ $length := len .Site.Params.keywords | add -1 -}}
{{- end }}
@@ -37,10 +37,10 @@
-{{ if .RSSLink -}}
+{{- if .RSSLink }}
-{{ end -}}
+{{- end -}}
@@ -50,15 +50,15 @@
-{{- if .Site.Params.debug }}
+{{- if .Site.Params.debug -}}
-{{- end }}
+{{- end -}}
-{{ if .Site.Params.busuanzi.enable -}}
+{{- if .Site.Params.busuanzi.enable -}}
-{{- end }}
+{{- end -}}
@@ -66,10 +66,10 @@
{{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxCSS | safeHTML }}{{ end }}
{{- else -}}
{{ if .Site.Params.fancybox }}{{ end }}
-{{- end }}
+{{- end -}}
-{{ range .Site.Params.customCSS }}
+{{ range .Site.Params.customCSS -}}
{{ end }}
--
cgit v1.2.3