1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-10-31 21:33:09 +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 }}