We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db60237 + e1d779f commit 3b2bcb3Copy full SHA for 3b2bcb3
pages/src/pages/[status]/[page].astro
@@ -41,4 +41,5 @@ const pagination = getPagination({
41
});
42
---
43
44
-<Posts {...pagination} status={status} />
+<!-- if status === 'published', add publishPage param -->
45
+<Posts {...pagination} status={status} publishPage={status === 'published'} />
pages/src/pages/[status]/index.astro
@@ -27,4 +27,5 @@ const pagination = getPagination({
27
28
29
30
31
0 commit comments