Rename _includes to _partials
This commit is contained in:
parent
c6aaf21722
commit
11d37468a8
27 changed files with 0 additions and 0 deletions
17
source/_partials/post/pager.html.twig
Normal file
17
source/_partials/post/pager.html.twig
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<div class="lg:flex mt-8 -mx-4">
|
||||
{% if page.previous_post %}
|
||||
<div class="lg:w-1/2 px-4 mb-2 lg:mb-0">
|
||||
<a href="{{ page.previous_post.url }}" class="text-blue @text-blue-dark">
|
||||
« {{ page.previous_post.title }}
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if page.next_post %}
|
||||
<div class="lg:w-1/2 px-4 lg:text-right">
|
||||
<a href="{{ page.next_post.url }}" class="text-blue @text-blue-dark">
|
||||
{{ page.next_post.title }} »
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue