{% import "macros/link.html" as link %} {% extends "repo/base.html" %} {% block head %} {%- endblock %} {% block tree_nav_class %}active{% endblock %} {% block extra_nav_links %} plain {% endblock %} {% block content %}
    {%- match file.content -%}
        {%- when crate::git::Content::Text with (content) -%}
            {{- content|safe -}}
        {%- when crate::git::Content::Binary with (_) -%}
            <binary file not displayed>
    {%- endmatch -%}
{% endblock %}