author parameter to a []string, which is the default for ox-hugo output.tags/2.6.0
</h1> | </h1> | ||||
{{ with .Params.author }} | {{ with .Params.author }} | ||||
<p class="tracked"> | <p class="tracked"> | ||||
By <strong>{{ . | markdownify }}</strong> | |||||
By <strong> | |||||
{{ if reflect.IsSlice . }} | |||||
{{ delimit . ", " | markdownify }} | |||||
{{else}} | |||||
{{ . | markdownify }} | |||||
{{ end }} | |||||
</strong> | |||||
</p> | </p> | ||||
{{ end }} | {{ end }} | ||||
{{/* Hugo uses Go's date formatting is set by example. Here are two formats */}} | {{/* Hugo uses Go's date formatting is set by example. Here are two formats */}} |