Fix the proposals lists

Links were broken since the upgrade of the hugo version.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2024-11-14 16:24:33 +01:00
parent c5d7eb7a2d
commit 1d1cf7c897
No known key found for this signature in database
GPG key ID: 0C971D9DBC9D678D

View file

@ -60,6 +60,7 @@
{{ end }}
{{ $docs_links := delimit $docs_links_list ", " }}
{{ $authors_list := apply .authors "htmlEscape" "." }}
{{ $authors_list := apply .authors "printf" "<a href=\"https://github.com/%s\">@%s</a>" "." "." }}
{{ $authors := delimit $authors_list ", " }}
@ -68,8 +69,8 @@
<td>{{ .title }}</td>
<td>{{ .created_at }}</td>
<td>{{ .updated_at }}</td>
<td>{{ with $docs_links }}{{ $docs_links }}{{ end }}</td>
<td>{{ $authors }}</td>
<td>{{ with $docs_links }}{{ $docs_links | safeHTML }}{{ end }}</td>
<td>{{ $authors | safeHTML }}</td>
<td>{{ with .shepherd }}<a href="https://github.com/{{ . }}">@{{ . }}</a>{{ end }}</td>
</tr>
{{ end }}