<% if (post.prev || post.next){ %>
<nav class="article-nav">
  <div class="article-prev">
    <% if (post.prev){ %>
      <a href="<%- url_for(post.prev.path) %>" id="article-nav-newer" class="article-nav-link-wrap">
          <% if (post.prev.title){ %>
            <%= post.prev.title %>
          <% } else { %>
            (no title)
          <% } %>
      </a>
    <% } %>
  </div>
  <div class="article-next">
    <% if (post.next){ %>
      <a href="<%- url_for(post.next.path) %>" id="article-nav-older" class="article-nav-link-wrap">
        <%= post.next.title %>
      </a>
    <% } %>
  </div>
</nav>
<% } %>
