feat: init now only includes footer template
Some checks failed
/ test-build (push) Failing after 25s

This commit is contained in:
Daniel Fichtinger 2025-07-18 00:23:51 -04:00
parent 828a82e5cb
commit d8d1e991c2

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 [