📝 docs(blog): update webmentions configuration details

- adjust heading level for webmentions section
- simplify webmentions configuration instructions
- remove redundant CSP directive explanation

🐛 fix(blog): correct webmentions enabled parameter

- change "enable" to "enabled" in config.toml example
This commit is contained in:
Jeremiah Russell 2025-02-12 14:08:10 +00:00
parent afbf2aa2ff
commit 2bc1f64acc
No known key found for this signature in database
GPG key ID: E576B835ACE207E5

View file

@ -1,7 +1,7 @@
+++
title = "Mastering tabi Settings: A Comprehensive Guide"
date = 2023-09-18
updated = 2025-02-11
updated = 2025-02-12
description = "Discover the many ways you can customise your tabi site."
[taxonomies]
@ -767,22 +767,15 @@ If you have enabled a system globally, but want to disable it on a specific page
Read [the docs](@/blog/comments/index.md) for more information on the available systems and their setup.
## Webmentions
### Webmentions
As described by the recommended W3C standard [Webmention][1] is a simple way to notify any URL when you mention it on your site. From the receiver's perspective, it's a way to request notifications when other sites mention it.
For static sites [webmention.io][2] hosts a webmention endpoint that can be used to receive webmentions. This feature fetches the webmentions stored at webmention.io and displays them for a page. You will need to have setup an account for your website at webmention.io. When you enable the webmention feature it will advertise your webmention.io endpoint and display the webmentions for any post using the webmention shortcut.
### Configuration and Usage
Enable webmentions for your site by adding the following to your `config.toml` file. A directive for CSP is required to allow the webmention.io endpoint to be used.
```toml
[extra]
allowed_domains = [
{ directive = "connect-src", domains = [ "https://webmention.io"] },
]
Enable webmentions for your site by adding the following to your `config.toml` file.
```
[extra.webmentions]
enable = true
# Specify the domain registered with webmention.io.