2023-01-07 23:24:56 +01:00
|
|
|
{{ $dataName := .Get "data" }}
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
{{ range (index .Site.Data (split $dataName "/")) }}
|
2023-01-14 21:03:12 +01:00
|
|
|
<li><a href="{{ .url | safeURL }}">{{ .title }}{{ with .filesize }} ({{ int (div (div . 1024) 1024) }} MB){{ end }}</a><br/>{{ .comment }}</li>
|
2023-01-07 23:24:56 +01:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|