summaryrefslogtreecommitdiffstats
path: root/templates/commit.md
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-08-30 19:36:51 +0200
committerChristoph Schlosser <christoph@linux.com>2025-08-30 19:37:18 +0200
commitb06dbf67b9ac9e329922d7911ee7a9b09419c5f0 (patch)
treebd9ade44dae5a3c838f932d42df9938501251dba /templates/commit.md
parent9b0ee130c7408e839ceaa0de97a12c9da35e216f (diff)
downloadgit2hugo-b06dbf67b9ac9e329922d7911ee7a9b09419c5f0.tar.gz
g2h: Link to tree from commit page
Diffstat (limited to 'templates/commit.md')
-rw-r--r--templates/commit.md1
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 }}