From 6c176d20643de268faa432adfa3e95b2b8217cb0 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Wed, 15 Apr 2020 15:17:09 +0800 Subject: Add utterances loading indicator --- layouts/partials/comment-utterances.html | 6 ++++ layouts/partials/scripts.html | 52 +++++++++++++++++++++++++++++--- 2 files changed, 54 insertions(+), 4 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/comment-utterances.html b/layouts/partials/comment-utterances.html index 6653661..05b5ba0 100644 --- a/layouts/partials/comment-utterances.html +++ b/layouts/partials/comment-utterances.html @@ -1,3 +1,9 @@ +
+
+
+
+

正在加载评论区

+
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index de2e018..db67ca5 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -1,3 +1,45 @@ + +{{ if and (.IsPage) (.Site.Params.utterancesComment) }} + +{{ end }} + {{ if .Site.Params.scrollTop }} \ No newline at end of file -- cgit v1.2.3