mirror of
https://github.com/kogakure/website-11ty-hamburg.stefanimhoff.de.git
synced 2026-02-03 20:25:30 +00:00
feat: add new design for website
This commit is contained in:
23
src/includes/pagination.njk
Normal file
23
src/includes/pagination.njk
Normal file
@@ -0,0 +1,23 @@
|
||||
{% if previousPost %}
|
||||
<a
|
||||
aria-label="{{ previousPost.data.title }}"
|
||||
class="pagination pagination-start"
|
||||
href="{{ previousPost.url }}"
|
||||
rel="prev"
|
||||
title="{{ previousPost.data.title }}"
|
||||
>
|
||||
{% include "pagination-left-arrow.njk" %}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if nextPost %}
|
||||
<a
|
||||
aria-label="{{ nextPost.data.title }}"
|
||||
class="pagination pagination-end"
|
||||
href="{{ nextPost.url }}"
|
||||
rel="next"
|
||||
title="{{ nextPost.data.title }}"
|
||||
>
|
||||
{% include "pagination-right-arrow.njk" %}
|
||||
</a>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user