{% import "macros/link.html" as link %} {% import "macros/breadcrumbs.html" as breadcrumbs %} {% extends "repo/base.html" %} {% block head %} {%- endblock %} {% block tree_nav_class %}active{% endblock %} {% block subnav %} {% call breadcrumbs::breadcrumbs(repo_path, filters::branch_query(branch.as_deref())) %} {% 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 %}