Closed nobkd closed 4 weeks ago
<slot for="content" /> is ignored and does not get replaced with the rendered md.
<slot for="content" />
layout.html
<main> <slot for="content" /> </main>
index.md
# title
result:
<main></main>
expected:
<main> <h1>title</h1> </main>
Probably works currently with <slot for="layout.article" />.
<slot for="layout.article" />
Thinking of changing the name to <slot for="layout.content" /> and updating the docs
<slot for="layout.content" />
Closing, as docs are fixed on dev
Describe the Bug
<slot for="content" />
is ignored and does not get replaced with the rendered md.Environment
Minimal Reproduction
layout.html
index.md
result:
expected: