chore: now topper only on first page

This commit is contained in:
Cory Dransfeldt 2023-06-17 14:22:52 -07:00
parent 65ecd22ff2
commit 3e2353382a
No known key found for this signature in database

View file

@ -22,7 +22,7 @@ meta:
src: https://coryd.dev/assets/img/avatar.webp
---
{% include "now-topper.liquid" %} {% for post in pagination.items %} {% if post.data.published %}
{% if pagination.pageNumber == 0 %}{% include "now-topper.liquid" %}{% endif %} {% for post in pagination.items %} {% if post.data.published %}
<article class="h-entry">
<div
class="mb-8 border-b border-gray-200 pb-4 text-gray-800 dark:border-gray-700 dark:text-white"