From e6bfb8bf0c695a902ebb58bba3a283f7187b2ac5 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sun, 23 May 2021 16:56:27 -0600 Subject: fix missing config obj --- ChangeLog | 2 ++ src/pyssg/pyssg.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1faf0e6..88d9b6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ CHANGES ======= +* add rss support + v0.2.4 ------ diff --git a/src/pyssg/pyssg.py b/src/pyssg/pyssg.py index a2f5102..dbc5f0b 100644 --- a/src/pyssg/pyssg.py +++ b/src/pyssg/pyssg.py @@ -111,7 +111,7 @@ def main() -> None: # get all parsed pages for rss construction all_pages: list[Page] = builder.get_pages() - rss_builder: RSSBuilder = RSSBuilder(template.rss, all_pages) + rss_builder: RSSBuilder = RSSBuilder(config, template.rss, all_pages) rss_builder.build() db.write() -- cgit v1.2.3-70-g09d2