1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-12-21 23:12:19 +00:00
strimertul-website/layouts/shortcodes/release-dl.html
Ash Keel 3a936fd45a
All checks were successful
continuous-integration/drone/push Build is passing
aaaaa
2024-04-21 01:23:18 +02:00

16 lines
402 B
HTML

{{ with .Page.Params.downloads }}
<table class="downloads">
<tbody>
{{ range . }}
{{ $filename := index (split .url "/") (sub (len (split .url "/")) 1) }}
{{ $target := .target }}
<tr>
<th>{{ .target }}</th>
<td>
<a href="{{ .url }}">{{ $filename }}</a>
</td>
</tr>
{{ end }}
</tbody>
</table>
{{ end }}