forked from deepStateMirrors/tabi
♻️ refactor(HTML): use whitespace control
Improves the cleanliness of the HTML related to the comment systems.
This commit is contained in:
parent
f57f3138c2
commit
7d8ed20c24
2 changed files with 20 additions and 20 deletions
|
@ -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=' ') -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue