From dca4aa7a7ed013cdcd603c43475e33790e0e57ad Mon Sep 17 00:00:00 2001 From: SG Date: Thu, 19 Jun 2025 11:17:01 +0300 Subject: [PATCH] updates --- classes.py | 2 +- themes/default/templates/default.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes.py b/classes.py index 2f277da..5fa5913 100644 --- a/classes.py +++ b/classes.py @@ -173,7 +173,7 @@ class Site: category_index = Path(f"{self.output_dir}/categories/{category}.html") category_items = [i for i in visible_content_items if category in i.data.get("categories")] with (category_index).open(mode="w", encoding="utf-8") as f: - f.write(config.index_template.render(page_title=f"{config.site_name}: {category}", content_items=category_items, categories = self.categories, parent_path = '../', footer_data = footer_data)) + f.write(config.index_template.render(page_title=f"{config.site_name}: [ {category} ]", content_items=category_items, categories = self.categories, parent_path = '../', footer_data = footer_data)) logger.info(f"Created {len(self.content_items)} content items.") \ No newline at end of file diff --git a/themes/default/templates/default.html b/themes/default/templates/default.html index 94d629b..86bacbb 100644 --- a/themes/default/templates/default.html +++ b/themes/default/templates/default.html @@ -18,7 +18,7 @@