Configure Discussion
How to configure post discussion in Hugo Brewm theme
The New Method
Simply paste your toot link in toot or comments parameter in the front matter.
---
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:
---
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:
[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.
Discussion
Hi! Let me introduce you a Hugo theme I made; hugo-brewm.
This toot will be displayed as discussion starter on it's exampleSite. Let me hear your input !
https://github.com/foxihd/hugo-brewm
#a11y #accessibility #GracefulDegradation #InclusiveDesign