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 --- ChangeLog | 1 + src/pyssg/pyssg.py | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index f5396f7..707d387 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ CHANGES ======= +* fix bug * fix bug * add sitemap support 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