diff --git a/templates/header.html b/templates/header.html index e99cd85b..7e3f9c54 100644 --- a/templates/header.html +++ b/templates/header.html @@ -30,32 +30,4 @@ {% endif %} {% if config.recaptcha %} - {% endif %} +{% endif %} diff --git a/templates/index.html b/templates/index.html index e9b944a1..297d1fda 100644 --- a/templates/index.html +++ b/templates/index.html @@ -13,9 +13,9 @@ active_page = "ukko"; {% endif %} + {% include 'header.html' %} {{ include('captcha_script.html', { form_action_type: 'post_thread' }) }} - {% include 'header.html' %} {% set page_num %}{% for page in pages %}{% if page.selected %}{% if page.num != 1 %}{{ page.num }}{% endif %}{% endif %}{% endfor %}{% endset %} {% set meta_subject %}{{ board.subtitle|newline_to_full_stop|e }}{% endset %} diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index d956649b..d166b563 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -9,9 +9,9 @@ , board_name = "{{ board.uri }}" , is_overboard = "{{ is_overboard }}"; - {{ include('captcha_script.html', { form_action_type: 'post_thread' }) }} {{ settings.title }} ( /{{ board.title|e }}/ ) {% include 'header.html' %} + {{ include('captcha_script.html', { form_action_type: 'post_thread' }) }}
diff --git a/templates/thread.html b/templates/thread.html index c58eafa4..18ddadd9 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -8,10 +8,11 @@ , board_name = "{{ board.uri }}" , thread_id = "{{ thread.id }}"; - {{ include('captcha_script.html', { form_action_type: 'post_reply' }) }} {% include 'header.html' %} + {{ include('captcha_script.html', { form_action_type: 'post_reply' }) }} + {% set meta_subject %}{% if config.thread_subject_in_title and thread.subject %}{{ thread.subject|e }}{% else %}{{ thread.body_nomarkup|remove_modifiers|newline_to_full_stop|remove_markup|e[:256] }}{% endif %}{% endset %}