diff options
| author | Christoph Schlosser <christoph@linux.com> | 2025-08-24 14:08:47 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2025-08-24 14:08:47 +0200 |
| commit | 49fb19170a74accf51aa13ef0600a0d15f707737 (patch) | |
| tree | a0a66e919e031638129ab9b128eb74c12e376fe7 /templates/log.md | |
| parent | 782a350e1f56292176ac8471195c889e47b2b841 (diff) | |
| download | git2hugo-49fb19170a74accf51aa13ef0600a0d15f707737.tar.gz | |
g2h: Add log page
Diffstat (limited to 'templates/log.md')
| -rw-r--r-- | templates/log.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/log.md b/templates/log.md new file mode 100644 index 0000000..70f719f --- /dev/null +++ b/templates/log.md @@ -0,0 +1,10 @@ +{% include '_head.md' %} + +{% if commits %} +| Message | Branches/Tags | Date | +|---------|---------------|------| +{%- for commit in commits %} +| {{ commit.summary }} | {% if commit.refs %}{{ commit.refs | join(', ') }}{% endif %} | {{ commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} +{% else %} +No commits found. +{% endif %} |