diff --git a/tildes/tildes/templates/topic.jinja2 b/tildes/tildes/templates/topic.jinja2 index 467f339..7ed3755 100644 --- a/tildes/tildes/templates/topic.jinja2 +++ b/tildes/tildes/templates/topic.jinja2 @@ -26,7 +26,11 @@ {% endblock %} {% block header_context_link %} -~{{ topic.group.path }} + {# Split the link out for each "segment" of the group path #} + ~{{ topic.group.path[0:1] }} + {% for i in range(1, topic.group.path|length) %} + .{{ topic.group.path[i:i+1] }} + {% endfor %} {% endblock %} {% block content %}