diff --git a/docs/cn/feed.xml b/docs/cn/feed.xml index 5deda2d27..77180afe6 100644 --- a/docs/cn/feed.xml +++ b/docs/cn/feed.xml @@ -22,8 +22,6 @@ layout: null {{ post.author.name | xml_escape }} {% else %} {{ site.author.name | xml_escape }} - {% else %} - {{ site.author.name | xml_escape }} {% endif %} {% if post.excerpt %} {{ post.excerpt | xml_escape }} diff --git a/docs/feed.xml b/docs/feed.xml index 6f6e857ac..e4f867261 100644 --- a/docs/feed.xml +++ b/docs/feed.xml @@ -20,6 +20,8 @@ layout: null {{ post.title | xml_escape }} {% if post.author.name %} {{ post.author.name | xml_escape }} + {% else %} + {{ site.author.name | xml_escape }} {% endif %} {% if post.excerpt %} {{ post.excerpt | xml_escape }}