Добавлена настройка системы комментирования Isso
This commit is contained in:
13
config.toml
13
config.toml
@@ -259,3 +259,16 @@ footer_menu = [
|
|||||||
service = "umami"
|
service = "umami"
|
||||||
id = "4ee44323-925a-401b-996d-2b6a63dfc527"
|
id = "4ee44323-925a-401b-996d-2b6a63dfc527"
|
||||||
self_hosted_url = "https://stats.zlinux.ru"
|
self_hosted_url = "https://stats.zlinux.ru"
|
||||||
|
|
||||||
|
[extra.isso]
|
||||||
|
enabled_for_all_posts = true # Enables Isso on all posts. It can be enabled on individual posts by setting `isso = true` in the [extra] section of a post's front matter.
|
||||||
|
automatic_loading = true # If set to false, a "Load comments" button will be shown.
|
||||||
|
endpoint_url = "https://comment.zlinux.ru/" # Accepts relative paths like "/comments/" or "/isso/", as well as full urls like "https://example.com/comments/". Include the trailing slash.
|
||||||
|
page_id_is_slug = true # If true, it will use the relative path for the default language as id; this is the only way to share comments between languages. If false, it will use the entire url as id.
|
||||||
|
lang = "" # Leave blank to match the page's language.
|
||||||
|
max_comments_top = "inf" # Number of top level comments to show by default. If some comments are not shown, an “X Hidden” link is shown.
|
||||||
|
max_comments_nested = "5" # Number of nested comments to show by default. If some comments are not shown, an “X Hidden” link is shown.
|
||||||
|
avatar = true
|
||||||
|
voting = true
|
||||||
|
page_author_hashes = "" # hash (or list of hashes) of the author.
|
||||||
|
lazy_loading = true # Loads when the comments are in the viewport (using the Intersection Observer API).
|
||||||
|
|||||||
Reference in New Issue
Block a user