2021-11-13 17:04:10 -06:00
|
|
|
{{ with .Params.authors }}
|
2021-11-22 02:21:15 -06:00
|
|
|
<span class="post-meta-item">
|
|
|
|
{{ partial "icon.html" "user-circle" }}
|
2021-11-13 17:04:10 -06:00
|
|
|
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ if index $.Site.Taxonomies "authors" }}
|
|
|
|
{{ $authors := slice }}
|
|
|
|
{{ range . }}
|
|
|
|
{{ $url := (printf "authors/%s" (. | anchorize)) | absLangURL }}
|
|
|
|
{{ $authors = $authors | append (printf `<a href="%s">%s</a>` $url . | safeHTML) }}
|
|
|
|
{{ end }}
|
|
|
|
{{ delimit $authors ", " }}
|
|
|
|
{{ else }}
|
|
|
|
{{ delimit . ", " }}
|
|
|
|
{{ end }}
|
|
|
|
</span>
|
2021-11-13 17:04:10 -06:00
|
|
|
{{ end }}
|