summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-08-24 17:37:43 +0200
committerChristoph Schlosser <christoph@linux.com>2025-08-24 17:42:39 +0200
commit0b3f38b3786c1b738165778d210453e1c2bfe309 (patch)
treef42d9533f1e5eee76b6fe147414dec53bf4eff1f /templates
parent8f2f0d5d1176794bb7df2c42c54b7211e155d331 (diff)
downloadgit2hugo-0b3f38b3786c1b738165778d210453e1c2bfe309.tar.gz
g2h: Add commit page
Diffstat (limited to 'templates')
-rw-r--r--templates/commit.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/commit.md b/templates/commit.md
new file mode 100644
index 0000000..fcf57b7
--- /dev/null
+++ b/templates/commit.md
@@ -0,0 +1,9 @@
+{% include '_head.md' %}
+
+**Commit**: {{ commit.hexsha }}
+**Author**: {{ commit.author }}
+**Date**: {{ commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }}
+
+```
+{{ commit.message }}
+```