mirror of
https://git.sr.ht/~ashkeel/strimertul-website
synced 2024-12-21 23:12:19 +00:00
17 lines
433 B
HTML
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 }}
|