<%- include('header') %>
<% posts = posts.sort((a,b) => {return new Date(b.metadata.mtime) - new Date(a.metadata.mtime)}) %> <% for(const post of posts) { %> <% } %> <%- include('global-style'); %> <%- include('footer') %>
<%= post.title %> <%= new Date(post.metadata.mtime).toDateString() %>