Update partials
This commit is contained in:
parent
fbbe3276e7
commit
9bd39e9692
19 changed files with 129 additions and 124 deletions
6
source/_partials/post/pager.html.twig
Normal file
6
source/_partials/post/pager.html.twig
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% if page.next_post or page.previous_post %}
|
||||
<ul>
|
||||
{% if page.next_post %}<li>Next post: <a href="{{ page.next_post.url }}">{{ page.next_post.title }}</a></li>{% endif %}
|
||||
{% if page.previous_post %}<li>Previous post: <a href="{{ page.previous_post.url }}">{{ page.previous_post.title }}</a></li>{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue