cleanup templates:
- move out shared functions to shared templates - remove useless classes - simplify - various cleanups & enhancements
This commit is contained in:
8
layouts/partials/authors.html
Normal file
8
layouts/partials/authors.html
Normal file
@ -0,0 +1,8 @@
|
||||
{{ 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 }}
|
Reference in New Issue
Block a user