|Jan-Lukas Else b7e9d5f68f||1 week ago|
|layouts/_default||1 week ago|
|LICENSE||1 week ago|
|README.md||1 week ago|
|config.yaml||1 week ago|
|go.mod||1 week ago|
You can use this module by adding it to your Hugo config (example of a YAML Hugo configuration file):
module: imports: # other imports ... # The hugo-activitystreams module: - path: codeberg.org/jlelse/hugo-activitystreams
outputs: home: - "html" # Default - "rss" # Default - "activity" page: - "html" # Default - "activity"
And finally (if you want to use use your website as an ActivityPub actor - middleware to do that with Hugo is coming soon...), you need to configure two params:
inbox with the ActivityPub inbox URL and
publickeypem with the PEM format of the public key of the key you use to sign activities.
params: # Your other params... # ActivityPub params activitypub: inbox: https://blog.example/activitypub/de/inbox publickeypem: -----BEGIN PUBLIC KEY-----...
By default the ActivityPub actor has the IRI of the language-based homepage. Example:
This project is MIT licensed. See the license here.