-
Notifications
You must be signed in to change notification settings - Fork 142
Closed
Description
- MarkBind Version:
MarkBind 2.9.1
What did you do? Please include the actual source code causing the issue.
- Created a MarkBind site using the default template:
markbind init --template default - Edited
index.mdto use the default layout on that page by replacingheader: header.mdwithlayout: default. - Executed
markbind serve index.htmlw/o header live-reloads correctly.- Replaced default layout(
layout: default) with header in frontmatter (header: header.md) index.htmllive-reloads with the header, as expected- Retried using the default layout on that page by replacing
header: header.mdwithlayout: default
(same results with footer: footer.md)
<frontmatter>
layout: default
pageNav: 2
pageNavTitle: "Chapters of This Page"
siteNav: site-nav.md
</frontmatter>What did you expect to happen?
The default layout to take over and the original header/footer in header.md/footer.md to not take effect.
What actually happened? Please include the actual, raw output.
The header/footer doesn't get removed.
However, if I disconnect the sever and re-run markbind build / markbind serve, the change is reflected i.e. the default layout is rendered instead of the header in header.md.
If this behaviour is intentional, perhaps we can document it under Frontmatter or Page Layouts?
Metadata
Metadata
Assignees
Labels
No labels