updates
This commit is contained in:
@@ -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.")
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<div id= "top_header" class="row top_header">
|
||||
<img id="top_header_image" src="{{ parent_path }}static/images/header.jpg" class="img-fluid">
|
||||
<div id="top_title" class="row">
|
||||
<a class="top_header_text">{{ page_title }}</a>
|
||||
<a class="top_header_text ms-1">{{ page_title }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="menu_container" class="row justify-content-end pe-2 py-2" >
|
||||
|
||||
Reference in New Issue
Block a user