{# ───────────────────────────────────────────── SPB Git — Personal Git Platform ───────────────────────────────────────────── Author : Simon-Pierre Boucher Contact : contact@spboucher.ai File : src/web/views/commits.njk Purpose : Paginated commit history License : MIT © Simon-Pierre Boucher ───────────────────────────────────────────── #}{% extends "layout.njk" %} {% block content %} {% include "partials/repo-header.njk" %}
{% if filterPath %}

History of {{ filterPath }} · clear filter

{% endif %}
    {% for commit in commits %}
  1. {{ commit.authorEmail | identicon(28) }}
    {{ commit.subject }} {% if commit.body %}
    {{ commit.body }}
    {% endif %}
    {{ commit.authorName }} committed {{ commit.date | reltime }} ({{ commit.date | datefull }}) · {{ commit.filesChanged | num }} file{{ 's' if commit.filesChanged != 1 }} changed {% if commit.additions %}+{{ commit.additions | num }}{% endif %} {% if commit.deletions %}−{{ commit.deletions | num }}{% endif %}
  2. {% else %}
  3. No commits yet.
  4. {% endfor %}
{% endblock %}