I am getting below fatal error while using processhtml
Fatal error: month is not defined I think this is due to following html code in my page.
<div id="clndr" class="clearfix">
<script type="text/template" id="clndr-template">
<div class="clndr-controls">
<div class="clndr-previous-button"><</div>
<div class="clndr-next-button">></div>
<div class="current-month">
<%= month %>
<%= year %>
</div>
</div>
</script>
</div>
This is my grunt file processhtml:dist
processhtml: {
dist:{
options: {
process: true,
},
files: [
{
expand: true,
cwd: 'dist/',
src: ['*.html'],
dest: 'dist/',
ext: '.html'
},
],
}
},
Any solution for using processhtml with text/template.
Thanks in advance