diff --git a/templates/index.html b/templates/index.html index a7794a52..f36ff88b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -13,6 +13,9 @@ active_page = "ukko"; {% endif %} + {% if config.turnstile %} + + {% endif %} {% include 'header.html' %} {% set page_num %}{% for page in pages %}{% if page.selected %}{% if page.num != 1 %}{{ page.num }}{% endif %}{% endif %}{% endfor %}{% endset %} @@ -58,7 +61,7 @@ {{ config.ad.top }} {% if not no_post_form %} - {% include('post_form.html', {form_action_type: 'post-thread'}) %} + {{ include('post_form.html', {form_action_type: 'post-thread'}) }} {% else %} {% include 'boardlist.html' %} {% endif %} diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 5bd21141..78015377 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -3,12 +3,15 @@ - + + {% if config.turnstile %} + + {% endif %} {{ settings.title }} ( /{{ board.title|e }}/ ) {% include 'header.html' %} @@ -28,7 +31,7 @@
[ {% trans 'Create new thread' %} ]
- {% include('post_form.html', {form_action_type: 'post-thread'}) %} + {{ include('post_form.html', {form_action_type: 'post-thread'}) }}
{% endif %} diff --git a/templates/thread.html b/templates/thread.html index 50f42be2..5c015ddd 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -3,13 +3,14 @@ - - + {% if config.turnstile %} + + {% endif %} {% include 'header.html' %} @@ -55,7 +56,7 @@ {{ config.ad.top }} - {% include('post_form.html', {form_action_type: 'post-reply'}) %} + {{ include('post_form.html', {form_action_type: 'post-reply'}) }} {% if config.global_message %}
{{ config.global_message }}
{% endif %}