diff --git a/files/templates/login/authforms.html b/files/templates/login/authforms.html index 29976ac82..5b144e890 100644 --- a/files/templates/login/authforms.html +++ b/files/templates/login/authforms.html @@ -3,7 +3,6 @@ {% block pagetype %}login{% endblock %} {% block template_config %} {% set root_scope.include_user_css = false %} - {% set root_scope.include_seo = false %} {% set root_scope.include_cf_2fa_verify = false %} {% endblock %} {% block body %} diff --git a/files/templates/login/login.html b/files/templates/login/login.html index 48ad1f513..6a80e4ddf 100644 --- a/files/templates/login/login.html +++ b/files/templates/login/login.html @@ -3,7 +3,6 @@ {% block pagetype %}login{% endblock %} {% block template_config %} {% set root_scope.include_user_css = false %} - {% set root_scope.include_seo = false %} {% set root_scope.include_cf_2fa_verify = false %} {% endblock %} {% block authtitle %}Welcome back.{% endblock %} diff --git a/files/templates/login/login_2fa.html b/files/templates/login/login_2fa.html index 8037b2311..7a1d57603 100644 --- a/files/templates/login/login_2fa.html +++ b/files/templates/login/login_2fa.html @@ -3,7 +3,6 @@ {% block pagetype %}login{% endblock %} {% block template_config %} {% set root_scope.include_user_css = false %} - {% set root_scope.include_seo = false %} {% set root_scope.include_cf_2fa_verify = false %} {% endblock %} {% block content %} diff --git a/files/templates/login/sign_up.html b/files/templates/login/sign_up.html index 6a42f0b17..0de26d173 100644 --- a/files/templates/login/sign_up.html +++ b/files/templates/login/sign_up.html @@ -6,7 +6,6 @@ {% block template_config %} {% set root_scope.include_user_css = false %} - {% set root_scope.include_seo = false %} {% set root_scope.include_cf_2fa_verify = false %} {% endblock %} diff --git a/files/templates/login/sign_up_failed_ref.html b/files/templates/login/sign_up_failed_ref.html index 6f6aa0ce5..524d55673 100644 --- a/files/templates/login/sign_up_failed_ref.html +++ b/files/templates/login/sign_up_failed_ref.html @@ -3,7 +3,6 @@ {% block pagetype %}login{% endblock %} {% block template_config %} {% set root_scope.include_user_css = false %} - {% set root_scope.include_seo = true %} {% set root_scope.include_cf_2fa_verify = false %} {% endblock %} {% block authtitle %}Whoops! You can't refer yourself!{% endblock %} diff --git a/files/templates/root.html b/files/templates/root.html index cb4384368..3ec99384e 100644 --- a/files/templates/root.html +++ b/files/templates/root.html @@ -1,7 +1,6 @@ {% set root_scope = namespace() %} {% block template_config %} {% set root_scope.include_user_css = true %} - {% set root_scope.include_seo = true %} {% set root_scope.include_cf_2fa_verify = false %} {% endblock %} {%- import 'util/macros.html' as macros with context -%} @@ -21,10 +20,10 @@ {% block head %} {% block title %}{% block pagetitle %}if you see this pls report it as a bug <3{% endblock %} - {{SITE_NAME}}{% endblock %} + {{html_head.seo()}} {{html_head.page_meta(self.pagetitle() or none)}} {{html_head.javascript()}} {{html_head.stylesheets(root_scope.include_user_css)}} - {{html_head.seo() if root_scope.include_seo}} {{html_head.cf_2fa_verify() if root_scope.include_2fa_verify}} {% block head_final %}{% endblock %} {% endblock %} diff --git a/files/templates/submit.html b/files/templates/submit.html index b2bf02a91..3af4031b7 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -3,7 +3,6 @@ {% block pagetype %}submit{% endblock %} {% block template_config %} {% set root_scope.include_user_css = true %} - {% set root_scope.include_seo = false %} {% set root_scope.include_cf_2fa_verify = false %} {% endblock %} {% block banner %}{% endblock %}