tobast.fr-hugo/layouts/shortcodes/list-unpublished-written.html

21 lines
586 B
HTML

<ul class="unpublished">
{{ $authors := .Page.Params.authors }}
{{ range sort .Page.Params.unpublished "date" "desc" }}
<li>
<span class="title">{{ .title }}</span>,
<span class="freetext">{{ .freetext }}</span>. With
<span class="authors">
{{- range .with }}
{{ $author := . }}
{{- with $authors -}}
{{ partial "research/quote_author.html" (index . $author) }}
{{- end -}}
{{ end -}}
</span>.
{{ range .links }}
<span class="doclink"><a href="{{ .url }}">[{{ .name }}]</a></span>
{{ end }}
</li>
{{ end }}
</ul>