Skip to content

Commit

Permalink
feat(basic-starter): show only published articles on index
Browse files Browse the repository at this point in the history
  • Loading branch information
shadcn committed Apr 8, 2022
1 parent 6c2db13 commit d209af9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions starters/basic-starter/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export async function getStaticProps(
context,
{
params: {
"filter[status]": 1,
include: "field_image,uid",
sort: "-created",
},
Expand Down

0 comments on commit d209af9

Please sign in to comment.