|
|
@ -7,6 +7,7 @@ |
|
|
|
{% from 'macros/comments.jinja2' import comment_label_options_template, comment_reply_template, render_comment_tree with context %} |
|
|
|
{% from 'macros/datetime.jinja2' import adaptive_date_responsive, time_ago %} |
|
|
|
{% from 'macros/forms.jinja2' import markdown_textarea %} |
|
|
|
{% from 'macros/groups.jinja2' import group_segmented_link %} |
|
|
|
{% from 'macros/links.jinja2' import group_linked, username_linked %} |
|
|
|
{% from 'macros/topics.jinja2' import topic_voting with context %} |
|
|
|
{% from 'macros/utils.jinja2' import pluralize %} |
|
|
@ -26,11 +27,7 @@ |
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
{% block header_context_link %} |
|
|
|
{# Split the link out for each "segment" of the group path #} |
|
|
|
<a class="site-header-context" href="/~{{ topic.group.path[0:1] }}">~{{ topic.group.path[0:1] }}</a> |
|
|
|
{% for i in range(1, topic.group.path|length) %} |
|
|
|
.<a class="site-header-context" href="/~{{ topic.group.path[0:i+1] }}">{{ topic.group.path[i:i+1] }}</a> |
|
|
|
{% endfor %} |
|
|
|
{{ group_segmented_link(topic.group, class="site-header-context") }} |
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
{% block content %} |
|
|
|