feat: init now only includes footer template
Some checks failed
/ test-build (push) Failing after 25s
Some checks failed
/ test-build (push) Failing after 25s
This commit is contained in:
parent
828a82e5cb
commit
d8d1e991c2
1 changed files with 2 additions and 1 deletions
|
@ -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