diff options
| author | Christoph Schlosser <christoph@linux.com> | 2025-08-31 15:58:30 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2025-08-31 15:58:30 +0200 |
| commit | 639b739a3fc69e8ae4476d8eca5393d221d3a0b8 (patch) | |
| tree | 1aa9b948b683132664dde56db781d575c1042109 /templates/overview.md | |
| parent | d1632cbbd21ba0b77bc44cbc13aa9e6322739935 (diff) | |
| download | git2hugo-639b739a3fc69e8ae4476d8eca5393d221d3a0b8.tar.gz | |
g2h: Link to tree from overview branch/tag names
Diffstat (limited to 'templates/overview.md')
| -rw-r--r-- | templates/overview.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/overview.md b/templates/overview.md index 5b93863..080524b 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 }}](/{{ content_subdir }}/{{ branch.commit.hexsha }}) | {{ branch.commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} +| [{{ branch.name }}](/{{ content_subdir }}/{{ branch.commit.hexsha }}/t) | [{{ 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 }}](/{{ content_subdir }}/{{ tag.commit.hexsha }}) | {{ tag.commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} +| [{{ tag.name }}](/{{ content_subdir }}/{{ tag.commit.hexsha }}/t)| [{{ 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 %} |