diff options
| author | Christoph Schlosser <christoph@linux.com> | 2025-08-30 19:36:51 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2025-08-30 19:37:18 +0200 |
| commit | b06dbf67b9ac9e329922d7911ee7a9b09419c5f0 (patch) | |
| tree | bd9ade44dae5a3c838f932d42df9938501251dba /templates/commit.md | |
| parent | 9b0ee130c7408e839ceaa0de97a12c9da35e216f (diff) | |
| download | git2hugo-b06dbf67b9ac9e329922d7911ee7a9b09419c5f0.tar.gz | |
g2h: Link to tree from commit page
Diffstat (limited to 'templates/commit.md')
| -rw-r--r-- | templates/commit.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/commit.md b/templates/commit.md index 4ea5594..8648760 100644 --- a/templates/commit.md +++ b/templates/commit.md @@ -3,6 +3,7 @@ **Commit**: {{ commit.hexsha }} **Author**: {{ commit.author }} <{{ redacted_email }}> **Date**: {{ commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} +**Tree**: [Browse](/{{ content_subdir }}/{{ commit.hexsha }}/t) ``` {{ commit.message }} |