<% var permaLink = (window.location.origin + '/' + window.location.pathname + '/data/posts/' + post.name).replace(/([^:])\/+/g, '$1/') %>
<% if (privileges.canViewHistory) { %>

History

<%= historyTemplate({ history: postHistory, util: util, }) %>
<% } %>