Compare commits

...

2 commits

Author SHA1 Message Date
312818d8a6 doc: updated changelog
Some checks failed
/ test-build (push) Failing after 18s
2025-07-18 00:38:32 -04:00
d8d1e991c2 feat: init now only includes footer template
Some checks failed
/ test-build (push) Failing after 25s
2025-07-18 00:23:51 -04:00
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,7 @@
- Added RSS feed generation. - Added RSS feed generation.
- Added default post description to configuration. - Added default post description to configuration.
- Added time-of-day support to post `date` frontmatter parsing. - Added time-of-day support to post `date` frontmatter parsing.
- `zona init` now only writes `footer.md` to the templates directory.
# 1.2.1 # 1.2.1

View file

@ -125,7 +125,8 @@ def initialize_site(root: Path | None = None):
layout = Layout.from_input(root=root, validate=False) layout = Layout.from_input(root=root, validate=False)
# load template resources # load template resources
logger.debug("Loading internal templates.") logger.debug("Loading internal templates.")
templates = util.get_resources("templates") # only write the footer
templates = [util.get_resource("templates/footer.md")]
logger.debug("Loading internal static content.") logger.debug("Loading internal static content.")
static = util.get_resources("content") static = util.get_resources("content")
for dir, resources in [ for dir, resources in [