add previous post
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
{% block content %}
|
||||
<!-- Main Content -->
|
||||
<main class="container mx-auto w-full flex-1 my-8 sm:flex flex-col sm:px-4">
|
||||
<a href="#" class="hidden z-20 fixed left-0 top-1/2 -mt-8 p-2 xl:flex items-center text-gray-400 dark:text-gray-300 rounded-md"
|
||||
<a href="{% url 'posts:posts.show' previous %}" class="hidden z-20 fixed left-0 top-1/2 -mt-8 p-2 xl:flex items-center text-gray-400 dark:text-gray-300 rounded-md"
|
||||
x-data="{ showPrevArticleButton : false }"
|
||||
@mouseleave="showPrevArticleButton = false"
|
||||
@mouseover="showPrevArticleButton = true"
|
||||
|
||||
Reference in New Issue
Block a user