fix make
This commit is contained in:
parent
fb55d1bd49
commit
bec77841d4
@ -550,6 +550,9 @@ if __name__ == "__main__":
|
||||
updated += writepage(tpl, tl, tc, cfg["page"],
|
||||
paginate=True if new_posts is None else False)
|
||||
if cfg["rss"]["enabled"]:
|
||||
# ensure output directory for feeds exists
|
||||
if not os.path.exists("feeds"):
|
||||
os.mkdir("feeds")
|
||||
feed_filename = "feeds/__index__.xml"
|
||||
rss.write_feed(
|
||||
p[:cfg["rss"]["limit"]], \
|
||||
|
Loading…
x
Reference in New Issue
Block a user