Fix custom author name in RSS template

This commit is contained in:
Cotes Chung 2021-04-18 03:21:55 +08:00
parent d5407181a4
commit 52f4012463

View file

@ -35,7 +35,7 @@ layout: compress
<id>{{ post_absolute_url }}</id> <id>{{ post_absolute_url }}</id>
<content src="{{ post_absolute_url }}" /> <content src="{{ post_absolute_url }}" />
<author> <author>
<name>{{ site.social.name }}</name> <name>{{ post.author | default: site.social.name }}</name>
</author> </author>
{% if post.categories %} {% if post.categories %}