diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pyssg/pyssg.py | 9 |
1 files changed, 5 insertions, 4 deletions
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 |