aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
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>