diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-10 08:47:01 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-10 08:47:01 +0800 |
commit | 31e638d283664c1e04d189edd732f5d9ae4fbeea (patch) | |
tree | b63dbf4f6f6f5c85b8b9b77b2643678ed4dfd2a8 /templates/repo_index.html | |
parent | reop_index.html, style.css: padding-wrapper (diff) | |
download | forge-31e638d283664c1e04d189edd732f5d9ae4fbeea.tar.gz forge-31e638d283664c1e04d189edd732f5d9ae4fbeea.tar.zst forge-31e638d283664c1e04d189edd732f5d9ae4fbeea.zip |
repo_index: Use the first line of the commit message
Diffstat (limited to '')
-rw-r--r-- | templates/repo_index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo_index.html b/templates/repo_index.html index 776b84e..866a020 100644 --- a/templates/repo_index.html +++ b/templates/repo_index.html @@ -20,7 +20,7 @@ {{- range .commits }} <tr> <td class="commit-id">{{ slice .Hash.String 0 8 }}</td> -<td class="commit-title">{{ .Message }}</td> +<td class="commit-title">{{ .Message | first_line }}</td> <td class="commit-author"> <a class="email-name" href="mailto:{{ .Author.Email }}">{{ .Author.Name }}</a> </td> |