blogamore/layouts/shortcodes/download-feed.html

8 lines
258 B
HTML
Raw Normal View History

{{ $dataName := .Get "data" }}
<ul>
{{ range (index .Site.Data (split $dataName "/")) }}
<li><a href="{{ .url | safeURL }}">{{ .title }}{{ with .filesize }} ({{ int (div (div . 1024) 1024) }} MB){{ end }}</a><br/>{{ .comment }}</li>
{{ end }}
</ul>