This commit is contained in:
parent
9bdc639203
commit
4256e7fb61
2
.gitignore
vendored
2
.gitignore
vendored
@ -77,4 +77,4 @@ com_crashlytics_export_strings.xml
|
||||
crashlytics.properties
|
||||
crashlytics-build.properties
|
||||
fabric.properties
|
||||
/site/
|
||||
/documentation/site/
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
hide:
|
||||
- toc
|
||||
|
||||
---
|
||||
# Варианты добавления в проект
|
||||
|
||||
|
@ -51,9 +51,9 @@ theme:
|
||||
- content.code.copy
|
||||
- toc.follow
|
||||
plugins:
|
||||
- social
|
||||
- meta
|
||||
- tags
|
||||
- social
|
||||
- search:
|
||||
lang: ru
|
||||
- git-revision-date-localized:
|
||||
|
15
documentation/overrides/partials/comments.html
Normal file
15
documentation/overrides/partials/comments.html
Normal file
@ -0,0 +1,15 @@
|
||||
{% if page.meta.comments %}
|
||||
<h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
|
||||
<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 %}
|
Loading…
Reference in New Issue
Block a user