Denys Konovalov
18a823cb6a
- move out shared functions to shared templates - remove useless classes - simplify - various cleanups & enhancements
8 lines
269 B
HTML
8 lines
269 B
HTML
{{ range $index, $elements := where (where .Site.RegularPages "Type" "author") "File.BaseFileName" "in" .author }}
|
|
{{ if ne $index 0 }}, {{ end }}
|
|
{{ if .Params.simplified }}
|
|
{{ .Title }}
|
|
{{ else }}
|
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
|
{{ end }}
|
|
{{ end }} |