I am using Vash as my template engine. I want to have header and footer in a separate file that I want to include in layout.vash
layout.vash
<body>
<header>
@html.block('header')
</header>
@html.block('content')
<footer>
@html.block('footer')
</footer>
<!-- Render Page Specific Scripts Here -->
@html.block("scripts")
</body>
header.vash
@html.block('header', function(){
<!--==============================header=================================-->
<div class="container_12">
<div class="grid_12">
<h1>
<a href="index.html">
<img src="images/logo.png" alt="Your Happy Family">
</a>
</h1>
</div>
</div>
})
index.vash
@html.extend('./includes/layout', function(model){ @html.block('content',
function(model){
<!--==============================Content=================================-->
<div class="content">
</div>
}) })
header and footer templates not pulled in. Any ideas?