This repository has been archived on 2022-11-21. You can view files and clone it, but cannot push or open issues or pull requests.
2020-03-08 22:46:22 +01:00
|
|
|
<% if (post.prev || post.next){ %>
|
2020-03-23 18:02:51 +01:00
|
|
|
<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>
|
2020-03-08 22:46:22 +01:00
|
|
|
</nav>
|
2020-03-23 18:02:51 +01:00
|
|
|
<% } %>
|