mirror of
https://github.com/welpo/tabi.git
synced 2025-12-17 04:48:44 +01:00
🐛 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:
parent
bc65184cd6
commit
2d8ab844f0
3 changed files with 4 additions and 5 deletions
|
|
@ -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 -%}
|
||||
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@
|
|||
{%- endif -%}
|
||||
|
||||
{# Webmentions #}
|
||||
{%- if config.extra.webmentions.enabled -%}
|
||||
{%- if config.extra.webmentions.enable -%}
|
||||
{%- include "partials/webmentions.html" -%}
|
||||
{%- endif -%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue