From 476084674076b8a802cf9272f58da0445f7bef75 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Tue, 25 May 2021 21:27:29 -0600 Subject: fix bug --- src/pyssg/pyssg.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2