{% extends 'klaus/base.html' %} {% load klaus %} {% block title %} {{ path }} - {{ block.super }} {% endblock %} {% block content %} {% include 'klaus/includes/tree.inc.html' %} {% url 'klaus:raw' repo=repo.name rev=rev path=path as raw_url %}

{{ filename }} @{{ rev|shorten_sha1 }} — {% if is_markup %} {% if render_markup %} view markup {% else %} view rendered {% endif %} · {% endif %} raw · history

{% if is_binary %} {% if is_image %} {% else %} {% include "klaus/includes/not_shown.html" with reason="Binary data" %} {% endif %} {% else %} {% if too_large %} {% include "klaus/includes/not_shown.html" with reason="Large file" %} {% else %} {% if is_markup and render_markup %}
{{ rendered_code|safe }}
{% else %} {{ rendered_code|safe }} {% endif %} {% endif %} {% endif %}
{% endblock %}