feed without entries are not feed but html pages

This commit is contained in:
Lionel Dricot 2022-02-25 22:13:40 +01:00
parent 7a05e5514e
commit af57715f99
1 changed files with 2 additions and 1 deletions

View File

@ -581,7 +581,8 @@ class FeedRenderer(GemtextRenderer):
if parsed.bozo:
return False
else:
return True
#If no content, then fallback to HTML
return len(parsed.entries) > 0
def get_title(self):
if not self.title: