<% allScripts = [] -%> <% allStyles = [] -%> <% var ctx = public -%> <% var n = current.path.length -%> <% for (var i in current.path) { -%> <% var path = current.path[i] -%> <% if (ctx._data) { -%> <% if (ctx._data.scripts || ctx._data._scripts) { -%> <% allScripts = allScripts.concat(ctx._data.scripts || ctx._data._scripts) -%> <% } -%> <% if (ctx._data.styles || ctx._data._styles) { -%> <% allStyles = allStyles.concat(ctx._data.styles || ctx._data._styles) -%> <% } -%> <% if (ctx._data[path] && ctx._data[path].scripts) { -%> <% allScripts = allScripts.concat(ctx._data[path].scripts) -%> <% } -%> <% if (ctx._data[path] && ctx._data[path].styles) { -%> <% allStyles = allStyles.concat(ctx._data[path].styles) -%> <% } -%> <% } -%> <% ctx = ctx[path] -%> <% } -%> <% if (typeof title != 'undefined') { -%> <%= site %>: <%= title %> <% } else { -%> <%= site %> <% } -%> <% for (var i in allStyles) { -%> <% } -%> <% var bodyClasses = current.path -%>

<%= site %>


By <%= author %>

<% if (typeof link != 'undefined' && link !== null) { -%>

→ <%= title %>

<%- yield %>

<% } else if (typeof date != 'undefined' && date !== null) { -%>

<%= title %>

<%- yield %>

<% } else if (typeof title != 'undefined' && title !== null) { -%>

<%= title %>

<%- yield %>

<% } else { -%> <%- yield %> <% } -%> <% for (var i in allScripts) { -%> <% } -%>