feat: добавил VK комментарии
This commit is contained in:
parent
c977afe167
commit
961d51fb37
|
|
@ -40,6 +40,8 @@ fingerprintAlgorithm = "sha512" # Valid values are "sha512" (default), "sha384",
|
||||||
giteaDefaultServer = "https://git.fsfe.org"
|
giteaDefaultServer = "https://git.fsfe.org"
|
||||||
forgejoDefaultServer = "https://v11.next.forgejo.org"
|
forgejoDefaultServer = "https://v11.next.forgejo.org"
|
||||||
|
|
||||||
|
showComments = true
|
||||||
|
|
||||||
[header]
|
[header]
|
||||||
layout = "fixed" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
|
layout = "fixed" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
|
||||||
|
|
||||||
|
|
@ -171,7 +173,7 @@ forgejoDefaultServer = "https://v11.next.forgejo.org"
|
||||||
# google = ""
|
# google = ""
|
||||||
# bing = ""
|
# bing = ""
|
||||||
# pinterest = ""
|
# pinterest = ""
|
||||||
yandex = "de1d55cab974c33e"
|
# yandex = ""
|
||||||
# fediverse = ""
|
# fediverse = ""
|
||||||
|
|
||||||
[rssnext]
|
[rssnext]
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
<!-- VK Comments Widget -->
|
||||||
|
<div id="vk_comments"></div>
|
||||||
|
<script type="text/javascript" src="https://vk.com/js/api/openapi.js?169"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
VK.init({apiId: 54459311, onlyWidgets: true});
|
||||||
|
VK.Widgets.Comments("vk_comments", {
|
||||||
|
limit: 10,
|
||||||
|
attach: "*",
|
||||||
|
autoPublish: 0,
|
||||||
|
pageUrl: "{{ .Permalink }}"
|
||||||
|
});
|
||||||
|
</script>
|
||||||
Loading…
Reference in New Issue