aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorJieiku2023-08-19 10:39:52 -0700
committerJieiku2023-08-19 10:39:52 -0700
commit211d08f9804c70943d7395175f25096483f006d0 (patch)
treec2c98891259fc353826b9346ee424101bb4c2e05 /templates/page.html
parent3e5d8a96e9eae21a799f327cd8a52adb891ebe66 (diff)
downloadabridge-2.0.0.tar.gz
abridge-2.0.0.tar.bz2
abridge-2.0.0.zip
Version 2.0.0 Refactor, Add PWA Support2.0.0
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/page.html b/templates/page.html
index e002b31..36ff4f4 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -32,7 +32,7 @@
{%- block comments_init %}
{%- if config.extra.comments.hyvor %}
- <script async src="https://talk.hyvor.com/embed/embed.js" type="module"></script>
+ <script defer src="https://talk.hyvor.com/embed/embed.js" type="module"></script>
{%- endif %}
{%- endblock comments_init %}
@@ -58,7 +58,7 @@
{%- block comments_body %}
{%- if config.extra.comments.hyvor %}
- <hyvor-talk-comments website-id={{ config.extra.comments.hyvor }} page-id={{ page.slug }} colors="os"></hyvor-talk-comments>
+ <hyvor-talk-comments website-id={{ config.extra.comments.hyvor }} page-id={{ page.slug }}{%- if config.extra.comments.hyvorcolor %} colors="{{ config.extra.comments.hyvorcolor }}"{%- endif %}></hyvor-talk-comments>
{%- endif %}
{%- endblock comments_body %}
</article>