% 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'); } %>
Favorites:
<% } %> <% if (_.any(post.relations)) { %>