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/scripts.html | 78 +++++++++++++++++++++----------------------
1 file changed, 39 insertions(+), 39 deletions(-)
(limited to 'layouts/partials/scripts.html')
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index a89ad89..2dfea1a 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -17,55 +17,55 @@
{{- if and (or .Params.enableOutdatedInfoWarning (and .Site.Params.outdatedInfoWarning.enable (ne .Params.enableOutdatedInfoWarning false))) (or .IsPage .IsHome) }}
{{- if .Site.Params.publicCDN.enable }}
- {{ .Site.Params.publicCDN.timeagoJS | safeHTML }}
- {{ .Site.Params.publicCDN.timeagoLocalesJS | safeHTML }}
+ {{ .Site.Params.publicCDN.timeagoJS | safeHTML }}
+ {{ .Site.Params.publicCDN.timeagoLocalesJS | safeHTML }}
{{- else }}
-
-
+
+
{{- end }}
-
-{{- end }}
+
+{{- end -}}
{{- if and (or .Params.flowchartDiagrams.enable (and .Site.Params.flowchartDiagrams.enable (ne .Params.flowchartDiagrams.enable false))) (or .IsPage .IsHome) -}}
-
+ {{- if .Site.Params.publicCDN.enable -}}
+ {{ .Site.Params.publicCDN.flowchartDiagramsJS | safeHTML }}
+ {{- else -}}
+
+
{{- end -}}
-
-{{- if .Site.Params.publicCDN.enable -}}
- {{ .Site.Params.publicCDN.flowchartDiagramsJS | safeHTML }}
-{{- else -}}
-
-
-{{- end -}}
{{- end -}}
{{- if and (or .Params.sequenceDiagrams.enable (and .Site.Params.sequenceDiagrams.enable (ne .Params.sequenceDiagrams.enable false))) (or .IsPage .IsHome) -}}
-
+ {{- if .Site.Params.publicCDN.enable -}}
+ {{ .Site.Params.publicCDN.sequenceDiagramsJS | safeHTML }}
+ {{ .Site.Params.publicCDN.sequenceDiagramsCSS | safeHTML }}
+ {{- else -}}
+
+
+
+
+
{{- end -}}
-
-{{- if .Site.Params.publicCDN.enable -}}
- {{ .Site.Params.publicCDN.sequenceDiagramsJS | safeHTML }}
- {{ .Site.Params.publicCDN.sequenceDiagramsCSS | safeHTML }}
-{{- else -}}
-
-
-
-
-
-{{- end -}}
{{- end }}
@@ -128,5 +128,5 @@
{{ range .Site.Params.customJS -}}
-
+
{{ end }}
--
cgit v1.2.3