From 54f78e712baafa9ab6072508e004b2b6bf6430f8 Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Sun, 24 Aug 2025 18:19:13 +0200 Subject: g2h: Link to commit pages from commit log --- templates/log.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/log.md') diff --git a/templates/log.md b/templates/log.md index 70f719f..1949cf2 100644 --- a/templates/log.md +++ b/templates/log.md @@ -4,7 +4,7 @@ | Message | Branches/Tags | Date | |---------|---------------|------| {%- for commit in commits %} -| {{ commit.summary }} | {% if commit.refs %}{{ commit.refs | join(', ') }}{% endif %} | {{ commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} +| [{{ commit.summary }}](/{{ content_subdir}}/{{ commit.hexsha }}/) | {% if commit.refs %}{{ commit.refs | join(', ') }}{% endif %} | {{ commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} {% else %} No commits found. {% endif %} -- cgit v1.2.3