diff options
author | DSRKafuU | 2020-04-23 23:34:45 +0800 |
---|---|---|
committer | GitHub | 2020-04-23 23:34:45 +0800 |
commit | 50900be20164758f1ae3ef1fb18d65424bc98743 (patch) | |
tree | a01ec7f161f73deac667b4e51be4f374b9ea8f5b /layouts/partials/comment-utterances.html | |
parent | aaa441e5f2e065ebcf1e645f7924e9ef28b8d242 (diff) | |
parent | 29f2e593583861173b212c0495dec2e26206072b (diff) | |
download | hugo-theme-fuji-50900be20164758f1ae3ef1fb18d65424bc98743.tar.gz hugo-theme-fuji-50900be20164758f1ae3ef1fb18d65424bc98743.tar.bz2 hugo-theme-fuji-50900be20164758f1ae3ef1fb18d65424bc98743.zip |
Merge pull request #5 from amzrk2/dev
Merge v1.2.0 dev branch
Diffstat (limited to 'layouts/partials/comment-utterances.html')
-rw-r--r-- | layouts/partials/comment-utterances.html | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/layouts/partials/comment-utterances.html b/layouts/partials/comment-utterances.html index f515a72..b3edfbd 100644 --- a/layouts/partials/comment-utterances.html +++ b/layouts/partials/comment-utterances.html @@ -1,10 +1,9 @@ +{{ with .Site.Params.utterancesRepo }} <div id="post-loading"> - <div id="container-loading-bar"> - <div id="loading-bar"></div> - </div> + <i class="fas fa-circle-notch fa-spin"></i> <p>{{ i18n "postCommentLoading" }}</p> </div> <div id="post-comment"> - <script src="{{ .Site.Params.cdnUtterancesJS }}" repo="{{ .Site.Params.utterancesRepo }}" issue-term="{{ .Site.Params.utterancesIssueTerm }}" theme="{{ .Site.Params.utterancesTheme }}" - crossorigin="anonymous" async></script> -</div>
\ No newline at end of file + <script src="https://utteranc.es/client.js" repo="{{ . }}" issue-term="{{ $.Site.Params.utterancesIssueTerm }}" theme="{{ $.Site.Params.utterancesTheme }}" crossorigin="anonymous" async></script> +</div> +{{ end }}
\ No newline at end of file |