Skip to content

Commit aa2dd47

Browse files
committed
feat(atom): add default if site.params.author is missing
1 parent 5d02ae1 commit aa2dd47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/list.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{{- end }}
1818
<updated>{{ $updated.Format "2006-01-02T15:04:05Z07:00" }}</updated>
1919
<author>
20-
<name>{{ site.Params.author.name }}</name>
20+
<name>{{ site.Params.author.name | default site.Title }}</name>
2121
{{- with site.Params.author.email }}
2222
<email>{{ . }}</email>
2323
{{- end }}

0 commit comments

Comments
 (0)