<% if(page.prev) {%>
上一篇

<%= page.prev.title %>

<% } %> <% if(page.next) {%>
下一篇

<%= page.next.title %>

<% } %>