[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with posthtml-include #59

Open
ainsleyclark opened this issue Aug 16, 2023 · 0 comments
Open

Compatibility with posthtml-include #59

ainsleyclark opened this issue Aug 16, 2023 · 0 comments

Comments

@ainsleyclark
Copy link

In base.html the <include> file never gets rendered.

<body>
        <!-- Doesn't work -->
	<include src="partials/header.html"></include>
	<main>
		<block name="content"></block>
	</main>
</body>

However it does get rendered within a layout:

<extends src="base.html">
	<block name="content">
                 <!-- Works -->
		<include src="partials/header.html"></include>
	</block>
</extends>

Any idea what could be causing this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant