wayver's git archive


a simple self-hosted git server
git clone https://git.wayver.dev/bile

templates/commit-tr.html@788f4460a8c003cb5018293ae250a8d8feaa2f1b

raw
Date Commit Message Author Files + -
2026-02-17 21:07 initial mvp wayverd 74 10800 0
...

1<tr>
2  {% let stats = repo.commit_stats(commit) %}
3  <td class="commit-date">{{commit.time()|format_datetime("%Y-%m-%d %H:%M")}}</td>
4  {% let summary = commit.summary().unwrap_or("")|truncate(72) %}
5  <td class="commit-summary"><a href="/{{repo|repo_name|urlencode_strict}}/commit/{{commit.id()}}">{{summary}}</a></td>
6  <td class="commit-author-email">{{commit.author()|ref|signature_email_link|safe}}</td>
7  <td class="commit-files-modified">{% match stats|ref %}{% when Ok with (stats) %}{{ stats.files_changed() }}{% when _ %}0{% endmatch %}</td>
8  <td class="commit-lines-added">{% match stats|ref %}{% when Ok with (stats) %}{{ stats.insertions() }}{% when _ %}0{% endmatch %}</td>
9  <td class="commit-lines-removed">{% match stats|ref %}{% when Ok with (stats) %}{{ stats.deletions() }}{% when _ %}0{% endmatch %}</td>
10</tr>