Follow hierarchy + update docs + screenshot + sort settings/docs

This commit is contained in:
welpo 2025-06-08 21:37:45 +02:00
parent 152b37ecc5
commit a5bedcbbc6
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
8 changed files with 167 additions and 112 deletions

View file

@ -340,8 +340,11 @@ Current section extra: {% if current_section %}{{ current_section.extra | json_e
{% include "partials/comments.html" %}
{% endif %}
{# Webmentions #}
{%- if config.extra.webmentions.enable -%}
{#- Webmentions -#}
{%- set global_webmentions_enabled = config.extra.webmentions.enable | default(value=false) -%}
{%- set page_webmentions_enabled = page.extra.webmentions | default(value=global_webmentions_enabled) -%}
{%- set webmentions_enabled = global_webmentions_enabled and page_webmentions_enabled != false or page_webmentions_enabled == true -%}
{%- if webmentions_enabled -%}
{%- include "partials/webmentions.html" -%}
{%- endif -%}