diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-05-25 21:27:29 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-05-25 21:27:29 -0600 |
commit | 476084674076b8a802cf9272f58da0445f7bef75 (patch) | |
tree | ab927bf81c016d7dbfa6b494fdc7d1be4c5bb776 /src | |
parent | f8d6d0c058f7d6b23622ed24f0f590d26db41534 (diff) |
fix bugv0.4.0
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 |