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

22 lines
586 B
HTML
Raw Permalink Normal View History

2020-06-19 16:55:43 +02:00
<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">
2022-01-20 12:00:23 +01:00
{{- range .with }}
2020-06-19 16:55:43 +02:00
{{ $author := . }}
2022-01-20 12:00:23 +01:00
{{- with $authors -}}
{{ partial "research/quote_author.html" (index . $author) }}
2020-06-19 16:55:43 +02:00
{{- end -}}
2022-01-20 12:00:23 +01:00
{{ end -}}
2020-06-19 16:55:43 +02:00
</span>.
{{ range .links }}
<span class="doclink"><a href="{{ .url }}">[{{ .name }}]</a></span>
{{ end }}
</li>
{{ end }}
</ul>