From 41ef0bdcde0534402d430185052f4c553144487c Mon Sep 17 00:00:00 2001
From: amzrk2
Date: Wed, 6 May 2020 20:30:07 +0800
Subject: General template fix
---
layouts/partials/scripts.html | 87 +++++++++++++++++++------------------------
1 file changed, 39 insertions(+), 48 deletions(-)
(limited to 'layouts/partials/scripts.html')
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 85346f2..894d5c3 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -1,5 +1,5 @@
+
{{ if and (.IsPage) (.Site.Params.utterancesRepo) }}
-
{{ end }}
+
+
+{{ if in .Site.Params.mainSections .Type }}
+
+{{ end }}
+{{ if .Site.Params.scrollTop }}
+
+
+{{ end }}
+
+
{{ with .Params.playerURL }}
{{ end }}
+
{{ with .Site.Params.playerURL }}
-{{ end }}
-{{ if in .Site.Params.mainSections .Type }}
-
-
-{{ end }}
-{{ if .Site.Params.scrollTop }}
-
-
-{{ end }}
-{{ if .Site.Params.webpChecker }}
-
-
{{ end }}
\ No newline at end of file
--
cgit v1.2.3