Compare commits

..

No commits in common. "312818d8a6e098494e2f5254cfbd1240b2b7cd84" and "828a82e5cb62f59b82b9680a64a050d5d7c10f76" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View file

@ -3,7 +3,6 @@
- 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,8 +125,7 @@ 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.")
# only write the footer templates = util.get_resources("templates")
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 [