{% extends "repo.html" %} {% import "utils.html" as utils with context %} {% block title %} {{repo.owner.canonical_name}}/{{repo.name}}: {{ref}} - {{cfg("sr.ht", "site-name")}} git {% endblock %} {% block head %} {% endblock %} {% block tabs_extra %}
  • {% endblock %} {% block content %}
    {% if commits[-1].parents %} {% set show_commits = commits[:-1] %} {% else %} {% set show_commits = commits %} {% endif %} {% for c in show_commits %}
    {{ utils.commit_event(repo, c, True, refs) }}
    {% endfor %}
    {% if commits[-1].parents %} Next {{icon("caret-right")}} {% endif %}
    {% endblock %}