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 2dcb38336c
All checks were successful
continuous-integration/drone/push Build is passing
v4 alpha release
2024-04-21 01:20:54 +02:00

17 lines
433 B
HTML

{{ $url := .Get 0 }}
{{ 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 }}{{ .url }}">{{ $filename }}</a>
</td>
</tr>
{{ end }}
</tbody>
</table>
{{ end }}