diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/pyssg/pyssg.py | 9 |
2 files changed, 6 insertions, 4 deletions
@@ -2,6 +2,7 @@ CHANGES ======= * fix bug +* fix bug * add sitemap support v0.3.1 diff --git a/src/pyssg/pyssg.py b/src/pyssg/pyssg.py index f316c09..5d8ac33 100644 --- a/src/pyssg/pyssg.py +++ b/src/pyssg/pyssg.py @@ -117,10 +117,11 @@ def main() -> None: # get all tags for sitemap construction all_tags: list[str] = builder.get_tags() - sitemap_builder: SitemapBuilder = SitemapBuilder(config, - template.sitemap, - all_tags) - sitemap_builder.build() + sm_builder: SitemapBuilder = SitemapBuilder(config, + template.sitemap, + all_pages, + all_tags) + sm_builder.build() db.write() return |