Skip to content

Compatibility with posthtml-include #59

@ainsleyclark

Description

@ainsleyclark

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions