From 5cfe684c3bce6f818e44d317831f371cb16b2aa1 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sun, 29 Jun 2025 00:27:32 -0400 Subject: [PATCH] updated post list template --- src/zona/data/templates/post_list.html | 2 +- src/zona/templates.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zona/data/templates/post_list.html b/src/zona/data/templates/post_list.html index b095510..5990e6b 100644 --- a/src/zona/data/templates/post_list.html +++ b/src/zona/data/templates/post_list.html @@ -5,7 +5,7 @@ {% if post_list %} {% endif %} diff --git a/src/zona/templates.py b/src/zona/templates.py index 4c79460..27b3b89 100644 --- a/src/zona/templates.py +++ b/src/zona/templates.py @@ -23,6 +23,8 @@ def get_footer(template_dir: Path) -> str | None: return html_footer.read_text() +# TODO: add next/prev post button logic to posts +# TODO: add a recent posts element that can be included elsewhere? class Templater: def __init__(self, template_dir: Path, post_list: list[Item]): self.env: Environment = Environment(