Skip to content
Snippets Groups Projects
Commit 37626797 authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

fix missing author handling

parent d9340649
Branches
No related tags found
2 merge requests!692Release,!691Fix RSS article loading for author pages
Pipeline #11001 passed
...@@ -76,7 +76,7 @@ class LatestArticlesFeed(Feed): ...@@ -76,7 +76,7 @@ class LatestArticlesFeed(Feed):
if item.author: if item.author:
return item.author return item.author
if item.author_page.title: if item.author_page and item.author_page.title:
return item.author_page.title return item.author_page.title
return "" return ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment