{% extends "base.html" %} {% block title %}{{ repo.name }} · {{ commit.short_id }}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block main %}

{{ commit.summary }}

{{ commit.short_id }} by {{ commit.author }} · {{ commit.time|naturaltime }}

{% if commit.message and commit.message|length > commit.summary|length + 1 %}
{{ commit.message }}
{% endif %}
{% for f in files %}
{{ f.status }} {% if f.old_path %}{{ f.old_path }} → {% endif %}{{ f.path }}
{% if f.is_binary %}

binary file

{% else %} {% for h in f.hunks %} {# No literal newlines inside the
: .line is display:block so each
       span already starts a new line. A trailing \n in the source would
       double the vertical space per line. #}
    
{{ h.header }}{% for l in h.lines %}{{ l.text }}{% endfor %}
{% endfor %} {% endif %}
{% endfor %}
{% endblock %}