From f69d6d6da728790a5f0bb1c5e2047174bc8f185c Mon Sep 17 00:00:00 2001 From: Luiz F. A. de PrĂ¡ <rawaraknis@gmail.com> Date: Thu, 26 Sep 2024 22:47:14 +0000 Subject: [PATCH] Change mastodon config from 'comments' to 'mastodon' --- docs/configurations.md | 45 +++++++++++++++++++++++++++++---------------- 1 files changed, 29 insertions(+), 16 deletions(-) diff --git a/docs/configurations.md b/docs/configurations.md index b09c312..71a184c 100644 --- a/docs/configurations.md +++ b/docs/configurations.md @@ -1,21 +1,23 @@ # Configurations -* [About Hugo Configurations](#about-hugo-configurations) - * [Analytics](/docs/analytics.md) - * [Commenting Systems](#commenting-systems) - * [Disqus](#disqus) - * [Commento](#commento) - * [Utterances](#utterances) - * [Giscus](#giscus) - * [Cusdis](#cusdis) -* [Syntax Highlight](#syntax-highlight) -* [Theme Parameters](#theme-parameters) - * [Social Icons Configuration](#social-icons-configuration) - * [Menu Items Configurations](#menu-items-configurations) - * [CSP](#csp) -* [Complete Example](#complete-example) -* [Front Matter](#front-matter) - * [Posts](#posts) +- [Configurations](#configurations) + - [About Hugo Configurations](#about-hugo-configurations) + - [Commenting Systems](#commenting-systems) + - [Disqus](#disqus) + - [Commento](#commento) + - [Utterances](#utterances) + - [Giscus](#giscus) + - [Telegram](#telegram) + - [Cusdis](#cusdis) + - [Mastodon](#mastodon) + - [Syntax Highlight](#syntax-highlight) + - [Theme Parameters](#theme-parameters) + - [Social Icons Configuration](#social-icons-configuration) + - [Menu Items Configurations](#menu-items-configurations) + - [CSP](#csp) + - [Complete Example](#complete-example) + - [Front Matter](#front-matter) + - [Posts](#posts) ## About Hugo Configurations @@ -96,6 +98,17 @@ data_app_id = "" ``` +#### Mastodon + +```toml +[params.mastodon] + host = "" # Address of your Mastodon instance + username = "" # Your username + statusID = "" # ID os the status (post) that comments should be related + purifyCDN = "" # CDN address of pointing to a Purify package + +``` + ## Syntax Highlight The theme uses the Goldmark syntax highlight system. GitHub light and dark are set as the default styles. To choose a different style, make sure `noClasses` is not set to false (default is true) and add to your `config.toml`: -- Gitblit v1.10.0