diff --git a/files/templates/home.html b/files/templates/home.html
index 70de853ef..109235daf 100644
--- a/files/templates/home.html
+++ b/files/templates/home.html
@@ -9,14 +9,20 @@
{% else %}
{{SITE_NAME}}{% if TAGLINES %}: {{TAGLINES|random}}{% endif %}
{% endif %}
- {% elif request.path == '/community' %}
- Community
{% else %}
{{super()}}
{% endif %}
{% endblock %}
-{% block pagetitle %}{{SITE_NAME if not hole else '/h/' ~ hole.name}}{% endblock %}
+{% block pagetitle %}
+ {% if hole %}
+ {{'/h/' ~ hole.name}}
+ {% elif request.path == '/community' %}
+ Community
+ {% else %}
+ {{SITE_NAME}}
+ {% endif %}
+{% endblock %}
{% block desktopBanner %}
{%- set search_placeholder = "Search" -%}