Back to Falco

Contributor

layouts/shortcodes/contributor.html

latest319 B
Original Source

{{$date := $.Get "date"}} {{$names := split ($.Get "names") ","}} {{$links := split ($.Get "links") ","}}

{{ $date }}

{{ range $index, $link := $links }} {{ if ne $index (sub (len $links) 1) }} {{ index $names $index }}and {{ else }} {{ index $names $index }} {{ end }} {{ end }}