{{ .Title }}
-
- {{- if and .GitInfo (ne (.Date.Format "2006-01-02") (.Lastmod.Format "2006-01-02")) }}
- (Modified on )
- {{- end }}
+
+
+ {{- if and .GitInfo (ne (.Date.Format "2006-01-02") (.Lastmod.Format "2006-01-02")) }}
+ ()
+ {{- end }}
+
+
+ {{- /* The authors are appended with 'et al' if there's more than one author in the map. */ -}}
+ {{ with .Params.author }}
+ {{ $author := index (first 1 .) 0 }}
+ {{ $author.name }}{{ if ge (len .) 2 }}, et al.{{ end }}
+ {{ end }}