telegram-bot/documentation/overrides/partials/comments.html

16 lines
682 B
HTML
Raw Normal View History

2023-02-20 00:22:10 +03:00
{% if "comments" in page.meta.hide %}
{% else %}
<h2 id="__comments" >{{ lang.t("meta.comments") }}</h2>
2023-02-19 23:50:41 +03:00
<script>
var remark_config = {
host: "https://comments.struchkov.dev",
site_id: 'docs',
components: ['embed'],
locale: 'ru',
theme: localStorage.theme,
show_email_subscription: true,
simple_view: false
};
</script>
<script>!function(e,n){for(var o=0;o<e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);</script>
{% endif %}