Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Add requiresIndexed to sitemap day.marko template.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinsina committed Mar 24, 2022
1 parent 91ee504 commit eea08ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/marko-web-html-sitemap/templates/day.marko
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ $ const pageNode = {
<marko-web-query|{ nodes }|
name="all-published-content"
params={
requiresIndexed: true,
publishedAfter: new Date(after.toISOString()),
since: new Date(ending.toISOString()),
limit: perPage,
Expand All @@ -52,6 +53,7 @@ $ const pageNode = {
<marko-web-html-sitemap-query-total-count|{ totalCount }|
name="all-published-content"
params={
requiresIndexed: true,
after: after.toDate().getTime(),
since: ending.toDate().getTime(),
}
Expand Down

0 comments on commit eea08ca

Please sign in to comment.