{#{% if not main_content_class %}#} {# {% set main_content_class = "withLoadingIndicator" %}#} {#{% endif %}#} {#{% if not ui_color %}#} {# {% set ui_color="inverse" %}#} {#{% endif %}#} {# TODO: Figure out best practice for changing a Jinja2 value (as above) and then extending a template. #} {% extends "3-columns.html" %} {% if corpus_name %} {% block nav %}
{{ corpus_name }} {# #} {# #}
/
{{ text_name }} {# #} {# #}
{% endblock %} {% endif %} {#{% block head %}#} {# {% include "_tags_styles.html" %}#} {#{% endblock %}#} {% block sidebar_navbar %} Tags {% endblock %} {% block sidebar_content %}
{% for rule_data in rules.values()|sort(reverse=True, attribute="num_tags") %} {% endfor %} {# {% for tag_data in tags[0].values()|sort(reverse=True, attribute="tag_maps_prop") %}#} {# {% if tag_data["tag_maps_prop"] > 0 %}#} {# #} {# {% endif %}#} {# {% endfor %}#}
{% endblock %} {% block main_navbar %} Text: {{ text_name }}
{#
#} {# #} {# Export…#} {# #} {# #} {# #} {#
#}
{% endblock %} {% block main_post_navbar %}
{% endblock %} {% block main_content %} {# text_html is already HTML, so it doesn't need to be escaped. #}
{{ pages[0] | safe }}
{% endblock %} {% block right_sidebar_navbar %} Topic Overview {% endblock %} {% block right_sidebar_content %}
{% endblock %} {% block scripts %} {% endblock %}