From 3e2353382a29cd7f7abdf2c6d6304edb36b72d5e Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 17 Jun 2023 14:22:52 -0700 Subject: [PATCH] chore: now topper only on first page --- src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 444e1849..15ba74fc 100644 --- a/src/index.html +++ b/src/index.html @@ -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 %}