🐛 fix(config): correct webmentions configuration key

- change "enabled" to "enable" in config.toml for webmentions
- update template files to reflect the corrected configuration key
This commit is contained in:
Jeremiah Russell 2025-03-19 15:44:55 +00:00
parent bc65184cd6
commit 2d8ab844f0
No known key found for this signature in database
GPG key ID: E576B835ACE207E5
3 changed files with 4 additions and 5 deletions

View file

@ -55,8 +55,7 @@ content="default-src 'self'
{%- endif -%}
{#- Check if a webmention system is enabled to allow the necessary domains and directives -#}
{%- set webmention_enabled = config.extra.webmentions.enabled -%}
{%- if webmention_enabled -%}
{%- if config.extra.webmentions.enable -%}
{%- set connect_src = connect_src ~ " webmention.io" -%}
{%- endif -%}

View file

@ -152,7 +152,7 @@
{%- endif -%}
{# Webmentions #}
{%- if config.extra.webmentions.enabled -%}
{%- if config.extra.webmentions.enable -%}
{%- include "partials/webmentions.html" -%}
{%- endif -%}