mirror of https://github.com/luizdepra/hugo-coder.git

Luiz F. A. de Prá
27.47.2024 f69d6d6da728790a5f0bb1c5e2047174bc8f185c
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`: