You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Hello world
Welcome to your page generated with MarkBind.
I then did markbind serve.
What did you expect to happen?
I expected testLayout to apply to index.md, displaying testLayout footer for the footer.
What actually happened? Please include the actual, raw output.
The footer from the default layout displayed instead. This also happens when a empty <frontmatter> is included.
If I include a <frontmatter> with content in index.md, then testLayoutdoes get applied:
<frontmatter>
title: Hello World
</frontmatter>
# Hello world
Welcome to your page generated with MarkBind.
The text was updated successfully, but these errors were encountered:
Tell us about your environment
What did you do? Please include the actual source code causing the issue.
I created a MarkBind site with two layouts,
default
andtestLayout
.In
_markbind/layouts/default/footer.md
:In
_markbind/layouts/testLayout/footer.md
:I then specified that
"layout: "testLayout"
forindex.md
insite.json
:In
index.md
:# Hello world Welcome to your page generated with MarkBind.
I then did
markbind serve
.What did you expect to happen?
I expected
testLayout
to apply toindex.md
, displayingtestLayout footer
for the footer.What actually happened? Please include the actual, raw output.
The footer from the
default
layout displayed instead. This also happens when a empty<frontmatter>
is included.If I include a
<frontmatter>
with content inindex.md
, thentestLayout
does get applied:The text was updated successfully, but these errors were encountered: