From 772d7335d3fb01cfd95a886e6a535f7f7e7ed979 Mon Sep 17 00:00:00 2001
From: amzrk2
Date: Mon, 20 Apr 2020 16:29:46 +0800
Subject: Add webp checker for dev use
---
layouts/partials/scripts.html | 50 +++++++++++++++++++++++++++----------------
1 file changed, 31 insertions(+), 19 deletions(-)
(limited to 'layouts/partials/scripts.html')
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index e807e36..d734202 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -1,13 +1,13 @@
-
{{ if and (.IsPage) (.Site.Params.utterancesComment) }}
+
{{ end }}
-
{{ if .Site.Params.scrollTop }}
+
{{ end }}
-
+{{ if .Site.Params.webpChecker }}
+
+
+{{ end }}
+
-{{ end }}
-
-
\ No newline at end of file
+{{ end }}
\ No newline at end of file
--
cgit v1.2.3
From f2b712d0b0922d3b0fd116611589dc25719e2bf8 Mon Sep 17 00:00:00 2001
From: amzrk2
Date: Wed, 22 Apr 2020 19:12:46 +0800
Subject: Adjust progressbar style
---
layouts/partials/scripts.html | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
(limited to 'layouts/partials/scripts.html')
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 79befb5..c47a474 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -45,12 +45,11 @@
$(function () {
var bar = new ProgressBar.Circle("#progress", {
color: "#8AA2D3",
- strokeWidth: 12,
+ strokeWidth: 10,
trailColor: "#E5E2E4",
- trailWidth: 12,
+ trailWidth: 10,
text: {
value: '{{ partial "fas/fa-angle-up" . }}',
- autoStyleContainer: false,
style: null
},
fill: "#E5E2E4"
--
cgit v1.2.3
From 77ec19755260ec2e65ef284a63d28129c42d70dc Mon Sep 17 00:00:00 2001
From: amzrk2
Date: Thu, 23 Apr 2020 11:50:45 +0800
Subject: Switch progressbar.js to fa
---
layouts/partials/scripts.html | 50 ++++++-------------------------------------
1 file changed, 6 insertions(+), 44 deletions(-)
(limited to 'layouts/partials/scripts.html')
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index c47a474..8294611 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -2,38 +2,24 @@
{{ end }}
--
cgit v1.2.3
From 39d85cc63387f940dcfd6cef1a6d43d2cc4ebdf1 Mon Sep 17 00:00:00 2001
From: amzrk2
Date: Thu, 23 Apr 2020 19:36:26 +0800
Subject: Support in-post or global APlayer
---
layouts/partials/scripts.html | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
(limited to 'layouts/partials/scripts.html')
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 48a056e..cd47e6f 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -25,6 +25,41 @@
});
{{ end }}
+{{ with .Params.playerURL }}
+
+{{ end }}
+{{ with .Site.Params.playerURL }}
+
+{{ end }}
{{ if .Site.Params.scrollTop }}