summaryrefslogtreecommitdiff
path: root/src/pyssg/builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyssg/builder.py')
-rw-r--r--src/pyssg/builder.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pyssg/builder.py b/src/pyssg/builder.py
index d2163d2..4939bcc 100644
--- a/src/pyssg/builder.py
+++ b/src/pyssg/builder.py
@@ -29,6 +29,7 @@ class HTMLBuilder:
self.html_files: list[str] = None
self.all_pages: list[Page] = None
+ self.all_tags: list[str] = None
def build(self) -> None:
@@ -44,6 +45,7 @@ class HTMLBuilder:
# just to be able to extract all pages out of this class
self.all_pages = parser.all_pages
+ self.all_tags = parser.all_tags
# create the article index
self.__create_article_index(parser.all_tags, parser.all_pages)
@@ -61,6 +63,10 @@ class HTMLBuilder:
return self.all_pages
+ def get_tags(self) -> list[str]:
+ return self.all_tags
+
+
def __create_dir_structure(self) -> None:
for d in self.dirs:
# for the dir structure,