tobast.fr-hugo/layouts/shortcodes/list-talks.html

13 lines
373 B
HTML

<ul class="talks">
{{ range sort .Page.Params.talks "date" "desc" }}
<li>
<span class="date">{{ dateFormat "Jan 2, 2006" .date }}</span>:
<span class="title">{{ .title }}</span> at
<span class="venue">{{ .venue }}</span>
{{ range .links }}
<span class="doclink"><a href="{{ .url }}">[{{ .name }}]</a></span>
{{ end }}
</li>
{{ end }}
</ul>