Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 306 Bytes
{{ with .Params.author }}
{{ $author_type := (printf "%T" .) }}
{{ $author_is_slice := (eq "[]string" $author_type) }}
<span class="author">&mdash;
{{ if $author_is_slice }}
{{ delimit . ", " }}
{{ else }}
{{ . }}
{{ end }}
</span>
{{ end }}