{% from "/shared/macros.html" import tree_ish_select with context %} {% extends "/shared/base.html" %} {% block title %}{{ repo_dir }}/{{ repo_name }}{% endblock %} {% block title2 %}Tree{% endblock %} {% block header_one %}{{ repo_dir }} / {{ repo_name }}{% endblock %} {% block main %}
{{ tree_ish_select('.get_repo_blob_file', 'tree-ish-select', "Branch/Tree", head, curr_tree_ish, branches, tags, file_path=tree_path) }}
{% if content_type == "TEXT" %}
{{ content|safe }}
{% elif content_type == "HTML" %}
{{ content|safe }}
{% elif content_type == "IMAGE" %} blob image preview {% else %}

Preview not available for this file type, preview not available

View Raw
{% endif %}
{% endblock %}