<%= head %> <%= metas %> <% styles.forEach(function(style){ %> <%= style %> <% }); %> <% headscripts.forEach(function(headscript){ %> <%= headscript %> <% }); %> <% prescripts.forEach(function(prescript, index){ %> <%= prescript %> <% }); %> <%= body %> <% scripts.forEach(function(script){ %> <%= script %> <% }); %>