diff --git a/files/templates/home.html b/files/templates/home.html index 1c3ce44897..7a94c9ec83 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -1,16 +1,14 @@ {% extends "default.html" %} {% block title %} {% if sub %} - /h/{{sub}} + /h/{{sub.name}} {% elif request.path == '/' %} {{SITE_NAME}} {% else %} {{super()}} {% endif %} {% endblock %} -{% block pagetitle %} -{{SITE_NAME if not sub else '/h/' + sub}} -{% endblock %} +{% block pagetitle %}{{SITE_NAME if not sub else '/h/' ~ sub.name}}{% endblock %} {% block head_final %} {% set preview = sub.siderbarurl if sub and sub.sidebarurl else sub.bannerurl %} @@ -24,7 +22,7 @@ - + @@ -37,25 +35,25 @@ {% block desktopBanner %}
- Create Post + Create Post {% if sub %} {% if v %} {%- set hole_prefix = '/h/' if not HOLE_STYLE_FLAIR else '' -%} {% if sub.stealth %} - - + + {% else %} - - + + {% endif %} - - + + {% else %} - Block {{hole_prefix}}{{sub}} - Follow {{hole_prefix}}{{sub}} + Block {{hole_prefix}}{{sub.name}} + Follow {{hole_prefix}}{{sub.name}} {% endif %} {% endif %}