_layouts/post.html in jekyll-theme-hamilton-2.0.0 vs _layouts/post.html in jekyll-theme-hamilton-3.0.0

- old
+ new

@@ -62,9 +62,23 @@ </li> {% endfor %} </ul> </div> {% endif %} + + <nav class="post-pagination" role="navigation"> + {% if page.previous %} + <a class="post-previous" href="{{ page.previous.url | relative_url }}"> + <i class="fas fa-arrow-left"></i> {{ page.previous.title | markdownify | strip_html }} + </a> + {% endif %} + + {% if page.next %} + <a class="post-next" href="{{ page.next.url | relative_url }}"> + {{ page.next.title | markdownify | strip_html }} <i class="fas fa-arrow-right"></i> + </a> + {% endif %} + </nav> </footer> {% if page.comments != false and jekyll.environment == "production" %} {% include disqus.html %} {% endif %}