feat: Hide "More" button when no posts are found
This commit is contained in:
1 parent
ae9d23b507
commit
0a2d0b4247
1 file changed
+2
@@ -96,6 +96,8 @@
|
||||
</div>
|
||||
|
||||
<!-- More Button -->
|
||||
{% if posts != empty %}
|
||||
<div class="pt-2">
|
||||
<button type="submit" class="w-full md:w-auto px-6 py-3 bg-primary text-white text-sm font-medium rounded-md hover:bg-primary-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition duration-150 ease-in-out font-monda font-action">More</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user