♻️ refactor(HTML): use whitespace control

Improves the cleanliness of the HTML related to the comment systems.
This commit is contained in:
welpo
2023-08-28 18:24:40 +02:00
parent f57f3138c2
commit 7d8ed20c24
2 changed files with 20 additions and 20 deletions

View File

@@ -93,11 +93,11 @@
{%- set hyvortalk_enabled = config.extra.hyvortalk.enabled_for_all_posts or page.extra.hyvortalk -%}
{%- set isso_enabled = config.extra.isso.enabled_for_all_posts or page.extra.isso -%}
{% if hyvortalk_enabled %}
{%- if hyvortalk_enabled -%}
connect-src talk.hyvor.com;
{% elif isso_enabled %}
{%- elif isso_enabled -%}
connect-src {{ config.extra.isso.endpoint_url }};
{% endif %}
{%- endif -%}
{%- for domain in config.extra.allowed_domains -%}
{{ domain.directive }} {{ domain.domains | join(sep=' ') -}}