- 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.md to use the default layout on that page by replacing header: header.md with layout: default.
- Executed
markbind serve
index.html w/o header live-reloads correctly.
- Replaced default layout(
layout: default) with header in frontmatter (header: header.md)
index.html live-reloads with the header, as expected
- Retried using the default layout on that page by replacing
header: header.md with layout: 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?
MarkBind 2.9.1
What did you do? Please include the actual source code causing the issue.
markbind init --template defaultindex.mdto use the default layout on that page by replacingheader: header.mdwithlayout: default.markbind serveindex.htmlw/o header live-reloads correctly.layout: default) with header in frontmatter (header: header.md)index.htmllive-reloads with the header, as expectedheader: header.mdwithlayout: default(same results with
footer: footer.md)What did you expect to happen?
The default layout to take over and the original header/footer in
header.md/footer.mdto 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. thedefaultlayout is rendered instead of the header inheader.md.If this behaviour is intentional, perhaps we can document it under
FrontmatterorPage Layouts?