feat: включение комментариев Comentario (partial, global showComments)
This commit is contained in:
@@ -96,7 +96,7 @@ forgejoDefaultServer = "https://v11.next.forgejo.org"
|
||||
sharingLinks = [ "reddit", "email", "telegram"]
|
||||
# showZenMode = false
|
||||
# externalLinkForceNewTab = false # disable to allow external links in the same tab (defaults to true)
|
||||
# showComments = true
|
||||
showComments = true
|
||||
|
||||
[list]
|
||||
showHero = true
|
||||
|
||||
@@ -7,6 +7,7 @@ slug: "shortcodes"
|
||||
tags: ["shortcodes", "mermaid", "icon", "lead", "docs"]
|
||||
series: ["Документация"]
|
||||
series_order: 8
|
||||
showComments: true
|
||||
---
|
||||
|
||||
Hugo даёт [стандартные shortcodes](https://gohugo.io/content-management/shortcodes/). Blowfish добавляет свои — для типичных задач блога.
|
||||
|
||||
@@ -1,14 +1,3 @@
|
||||
<!-- VK Comments Widget -->
|
||||
<div class="vk-comments-wrap">
|
||||
<div id="vk_comments"></div>
|
||||
</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>
|
||||
<!-- Comments Widget -->
|
||||
<script defer src="https://comments.oakazanin.ru/comentario.js"></script>
|
||||
<comentario-comments no-fonts="true" lang="ru" theme="light"></comentario-comments>
|
||||
Reference in New Issue
Block a user