<%- post.content %>
<% if(post.layout == 'post'){ %>
<%- partial('meta', {post: post, position: 'footer'}) %>
<% } %>
<% if(post.prev || post.next){ %>
<% if(post.prev){ %>
<%- __('post.prev_page') %>
<% if (post.prev.tags && post.prev.tags.length && post.prev.tags.each) { %>
<%
var items = [];
post.prev.tags.each(function(item){
items.push('' + item.name + '');
});
%>
<% } %>
<% } %>
<% if(post.next){ %>
<%- __('post.next_page') %>
<% if (post.next.tags && post.next.tags.length && post.next.tags.each) { %>
<%
var items = [];
post.next.tags.each(function(item){
items.push('' + item.name + '');
});
%>
<% } %>
<%} %>
<%} %>