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 @@
- {{ page_title }} + {{ page_title }}