styling + rss
This commit is contained in:
parent
2809018dc1
commit
c9b06f3f17
8 changed files with 77 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
<nav class="flex justify-between mt-8">
|
||||
<nav class="flex justify-between mt-8 items-center">
|
||||
{% if pagination.href.previous %}
|
||||
<a href="{{ pagination.href.previous }}">
|
||||
<button class="py-2 pr-4 text-primary-400 hover:text-primary-500 dark:hover:text-primary-300">Previous</button>
|
||||
|
@ -8,9 +8,9 @@
|
|||
{% endif %}
|
||||
|
||||
{% for pageEntry in pagination.pages %}
|
||||
{% if page.url == pagination.hrefs[forloop.index0] %}
|
||||
{% if page.url == pagination.hrefs[forloop.index0] %}
|
||||
<a href="{{ pagination.hrefs[forloop.index0] }}" aria-current="page">
|
||||
<button class="py-2 px-4 text-primary-400 hover:text-primary-500 dark:hover:text-primary-300">
|
||||
<button class="w-8 h-8 rounded-full text-white dark:text-gray-900 bg-primary-400 hover:bg-primary-500 dark:hover:bg-primary-300">
|
||||
{{ forloop.index }}
|
||||
</button>
|
||||
</a>
|
||||
|
|
Reference in a new issue