Spaces:
Running
Running
File size: 1,235 Bytes
2f461e6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
---
author : ['Author Name']
title: "Configure Discussion"
description: "How to configure post discussion in Hugo Brewm theme"
date: 2025-01-26
lastmod: 2025-02-10
type: post
draft: false
translationKey: discussion
coffee: 1
tags: ['configuration', 'discussion']
categories: ['configuration']
toot: "https://infosec.exchange/@foxx/113979609651534969"
---
## The New Method
Simply paste your toot link in `toot` or `comments` parameter in the front matter.
```yaml
---
toot: https://example.com/@example/12345678901234567890
---
```
## 'The-Long' Method
You can integrate discussions from you Fediverse instance to you article. To enable this feature, add the `fediverse` section to your front matter with the required `host`, `user`, and `post` parameters:
```yaml
---
title: "Example"
type: "post"
fediverse:
host: fediverse.instance
user: user-name
post: 123456789012345678
---
```
If you are single author, you can set the `host` and `user` parameter globally in the `config.toml` file:
```toml
[params]
[params.fediverse]
host = "example.com"
user = "username"
```
You might need to preview the article's permalink before sharing it on the Fediverse network to get post ID, or perform CI/CD twice. |