commit: 9a71e73af66aa85a9977c95e52e87960d7da38d0
parent: e127b93ba80b8460deecc217763bb1678f07c75e
author: Chris Noxz <chris@noxz.tech>
date: Mon, 13 Mar 2023 14:41:41 +0100
add commit link to changelog
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/build b/build
@@ -1014,10 +1014,11 @@ render_git_commits() {
for repo in "${SITE_GIT_REPO_ROOT}"/*; do
a=${repo##*/}
+ c="//${1}/git/${a}/commit"
a="<a href=\"//${1}/git/${a}\">${a%.*}</a>"
git -C "${repo}" log -n "${SITE_GIT_COMMIT_COUNT}" \
--no-merges \
- --pretty="format:%at:%ai [$a] %s"
+ --pretty="format:%at:%ai [$a] <a href=\"$c/%H.html\">%s</a>"
echo
done \
| sort -r \