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

History

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