-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Would like to render include content at the indent level of @import reference. Since an actual template delivery to client most likely would be the rendered source and not the set of .kit files, it'd be ideal to give them less-mangled markup.
Include Contents:
<!-- #nav -->
<nav>
<ul>
<li><a href="link.html">Lorem </a></li>
<li><a href="link.html">Ipsum</a></li>
<li><a href="link.html">Dolor</a></li>
</ul>
</nav>
<!-- /nav -->Input:
<body>
<header>
<!-- @import "header.html" -->
</header>
</body>Current Kit Output:
<body>
<header>
<!-- #nav -->
<nav>
<ul>
<li><a href="link.html">Lorem </a></li>
<li><a href="link.html">Ipsum</a></li>
<li><a href="link.html">Dolor</a></li>
</ul>
</nav>
<!-- /nav -->
</header>
</body>Desired Kit Output:
<body>
<header>
<!-- #nav -->
<nav>
<ul>
<li><a href="link.html">Lorem </a></li>
<li><a href="link.html">Ipsum</a></li>
<li><a href="link.html">Dolor</a></li>
</ul>
</nav>
<!-- /nav -->
</header>
</body>Metadata
Metadata
Assignees
Labels
No labels