diff --git a/files/templates/root.html b/files/templates/root.html
index 3ec99384e..91717cef6 100644
--- a/files/templates/root.html
+++ b/files/templates/root.html
@@ -19,7 +19,9 @@
{% block head %}
- {% block title %}{% block pagetitle %}if you see this pls report it as a bug <3{% endblock %} - {{SITE_NAME}}{% endblock %}
+ {% 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()}}