Add previous/next navigation to posts
This commit is contained in:
@@ -16,7 +16,7 @@ layout: default
|
||||
<p>{{ content }}</p>
|
||||
<a href="/{{ site.baseurl }}/gallery/{{ page.gallery }}/">[ list ]</a>
|
||||
</section>
|
||||
<ul style="margin-top:0;">
|
||||
<ul style="margin-top: 0;">
|
||||
{% if photo.previous %}
|
||||
<li><a href="/{{ site.baseurl }}/gallery/{{ page.gallery }}/{{ photo.previous }}.html" rel="prev"> ← </a></li>
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user