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/overview.md | |
| parent | 782a350e1f56292176ac8471195c889e47b2b841 (diff) | |
| download | git2hugo-49fb19170a74accf51aa13ef0600a0d15f707737.tar.gz | |
g2h: Add log page
Diffstat (limited to 'templates/overview.md')
| -rw-r--r-- | templates/overview.md | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/templates/overview.md b/templates/overview.md index cc6f990..c1f1d05 100644 --- a/templates/overview.md +++ b/templates/overview.md @@ -1,23 +1,19 @@ ---- -title: {{ title }} ---- - -# {{ title }} +{% include '_head.md' %} {% if branches %} | Branch | Commit | Date | |--------|--------|------| {%- for branch in branches %} -| {{ branch.name }} | {{ branch.commit.summary }} | {{ branch.commit.authored_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} +| {{ branch.name }} | {{ branch.commit.summary }} | {{ branch.commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} {% else %} No branches found. {% endif %} {% if tags %} | Tag | Commit | Date | -|--------|--------|------| +|-----|--------|------| {%- for tag in tags %} -| {{ tag.name }} | {{ tag.commit.summary }} | {{ tag.commit.authored_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} +| {{ tag.name }} | {{ tag.commit.summary }} | {{ tag.commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} {% else %} No tags found. {% endif %} |