{% let stats = repo.commit_stats(commit) %}
| {{commit.time()|format_datetime("%Y-%m-%d %H:%M")}} |
{% let summary = commit.summary().unwrap_or("")|truncate(72) %}
{{summary}} |
{{commit.author()|ref|signature_email_link|safe}} |
{% match stats|ref %}{% when Ok with (stats) %}{{ stats.files_changed() }}{% when _ %}0{% endmatch %} |
{% match stats|ref %}{% when Ok with (stats) %}{{ stats.insertions() }}{% when _ %}0{% endmatch %} |
{% match stats|ref %}{% when Ok with (stats) %}{{ stats.deletions() }}{% when _ %}0{% endmatch %} |