forked from leftypol/leftypol
templates: inject turnslide js
This commit is contained in:
parent
f3c45073cb
commit
4f61026842
3 changed files with 13 additions and 6 deletions
|
@ -13,6 +13,9 @@
|
|||
active_page = "ukko";
|
||||
{% endif %}
|
||||
</script>
|
||||
{% if config.turnstile %}
|
||||
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
|
||||
{% 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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue