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

18 lines
433 B
HTML
Raw Normal View History

2023-11-12 02:14:55 +00:00
{{ $url := .Get 0 }}
{{ 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>
<a href="{{ $url }}{{ .url }}">{{ $filename }}</a>
</td>
</tr>
2023-11-12 02:14:55 +00:00
{{ end }}
</tbody>
</table>
{{ end }}