diff options
| author | Runxi Yu <me@runxiyu.org> | 2025-04-03 16:25:44 +0800 |
|---|---|---|
| committer | Runxi Yu <me@runxiyu.org> | 2025-04-03 16:47:01 +0800 |
| commit | 46446a0f91fcb8290791e49372493c2ef81d3506 (patch) | |
| tree | fe62fd027a1b4fcd56ae9ab933e77d4c0dd5af5b /templates | |
| parent | HTTP: Use Go-style comments for Go, not C-style comments (diff) | |
| download | forge-46446a0f91fcb8290791e49372493c2ef81d3506.tar.gz forge-46446a0f91fcb8290791e49372493c2ef81d3506.tar.zst forge-46446a0f91fcb8290791e49372493c2ef81d3506.zip | |
HTML: Fix authorship fields
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/repo_index.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index 59efd15..666eaeb 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -69,10 +69,10 @@ <tr> <td class="commit-title"><a href="commit/{{- .Hash -}}">{{- .Message | first_line -}}</a></td> <td class="commit-author"> - <a class="email-name" href="mailto:{{- .Author.Email -}}">{{- .Author.Name -}}</a> + <a class="email-name" href="mailto:{{- .Email -}}">{{- .Author -}}</a> </td> <td class="commit-time"> - {{- .Author.When.Format "2006-01-02 15:04:05 -0700" -}} + {{- .Date -}} </td> </tr> {{- end -}} |
