From c665dae57b12a80004e7ee4fca4ea5e9df7378d6 Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Sun, 24 Aug 2025 18:31:16 +0200 Subject: g2h: Link to commit pages from overview page --- templates/overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/overview.md') diff --git a/templates/overview.md b/templates/overview.md index c1f1d05..5b93863 100644 --- a/templates/overview.md +++ b/templates/overview.md @@ -4,7 +4,7 @@ | Branch | Commit | Date | |--------|--------|------| {%- for branch in branches %} -| {{ branch.name }} | {{ branch.commit.summary }} | {{ branch.commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} +| {{ branch.name }} | [{{ branch.commit.summary }}](/{{ content_subdir }}/{{ branch.commit.hexsha }}) | {{ branch.commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} {% else %} No branches found. {% endif %} @@ -13,7 +13,7 @@ No branches found. | Tag | Commit | Date | |-----|--------|------| {%- for tag in tags %} -| {{ tag.name }} | {{ tag.commit.summary }} | {{ tag.commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} +| {{ tag.name }} | [{{ tag.commit.summary }}](/{{ content_subdir }}/{{ tag.commit.hexsha }}) | {{ tag.commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} {% else %} No tags found. {% endif %} -- cgit v1.2.3