fix: don't expect title field for feeds #21
@ -60,6 +60,11 @@ def create_frontmatter(entry):
|
||||
else:
|
||||
author = ""
|
||||
|
||||
if "title" in entry:
|
||||
title = entry.title
|
||||
else:
|
||||
title = ""
|
||||
|
||||
tags = []
|
||||
if "tags" in entry:
|
||||
# TODO finish categories
|
||||
@ -67,7 +72,7 @@ def create_frontmatter(entry):
|
||||
tags.append(t["term"])
|
||||
|
||||
frontmatter = {
|
||||
"title": entry.title,
|
||||
"title": title,
|
||||
"date": published.format(),
|
||||
"summary": "",
|
||||
"author": author,
|
||||
|
Loading…
Reference in New Issue
Block a user