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

22 lines
585 B
HTML
Raw Normal View History

2019-10-10 19:30:34 +02:00
<ul class="publications">
{{ $authors := .Page.Params.authors }}
2020-07-25 14:14:57 +02:00
{{ range sort .Page.Params.publications "year" "desc" }}
2019-10-10 19:30:34 +02:00
<li>
<span class="authors">
2022-01-20 12:00:23 +01:00
{{- range .authors }}
2019-10-10 19:30:34 +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>.
2019-10-10 19:30:34 +02:00
<span class="title">{{ .title }}</span> in
<span class="journal">{{ .journal }}</span>
{{ range .links }}
<span class="doclink"><a href="{{ .url }}">[{{ .name }}]</a></span>
{{ end }}
</li>
{{ end }}
</ul>