1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-11-23 21:32:20 +00:00
strimertul-website/layouts/shortcodes/release-dl.html

17 lines
402 B
HTML
Raw Normal View History

2023-11-12 02:14:55 +00:00
{{ with .Page.Params.downloads }}
<table class="downloads">
<tbody>
{{ range . }}
{{ $filename := index (split .url "/") (sub (len (split .url "/")) 1) }}
{{ $target := .target }}
2024-04-20 23:20:54 +00:00
<tr>
<th>{{ .target }}</th>
<td>
2024-04-20 23:23:18 +00:00
<a href="{{ .url }}">{{ $filename }}</a>
2024-04-20 23:20:54 +00:00
</td>
</tr>
2023-11-12 02:14:55 +00:00
{{ end }}
</tbody>
</table>
{{ end }}