aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorAyush Singh2023-08-17 19:29:19 +0530
committerAyush Singh2023-08-17 19:38:12 +0530
commit9432eaff747b4c716622656e63ae920c65fa0e90 (patch)
tree708ad14f4da09bc4a7ae5b2ed38cd941153571c5 /templates/base.html
parentd2aba91ac9f5ab6a6f88b125da80b8f8275138d3 (diff)
downloadabridge-9432eaff747b4c716622656e63ae920c65fa0e90.tar.gz
abridge-9432eaff747b4c716622656e63ae920c65fa0e90.tar.bz2
abridge-9432eaff747b4c716622656e63ae920c65fa0e90.zip
Initial support for hvyor talk comments
Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index f609516..736912f 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -28,6 +28,12 @@
{{- macros_head::security(config=config) }}
{{- macros_head::favicons(config=config) }}
<noscript><link rel="stylesheet" href="{{ get_url(path='nojs.css', trailing_slash=false) | safe }}" /></noscript>
+
+ {%- block comments_init %}
+ {%- if config.extra.comments.hyvor %}
+ <script async src="https://talk.hyvor.com/embed/embed.js" type="module"></script>
+ {%- endif %}
+ {%- endblock comments_init %}
</head>
<body>
{%- block header %}