Compare commits
2 commits
828a82e5cb
...
312818d8a6
Author | SHA1 | Date | |
---|---|---|---|
312818d8a6 | |||
d8d1e991c2 |
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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 [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue