Skip to content

Commit

Permalink
Templates: Use the article list block instead of a query loop for arc…
Browse files Browse the repository at this point in the history
…hives
  • Loading branch information
ryelle committed Aug 9, 2024
1 parent 2f3be56 commit 65a4419
Showing 1 changed file with 4 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,11 @@
</div>
<!-- /wp:group -->

<!-- wp:query {"queryId":1,"query":{"inherit":true},"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} -->
<div class="wp-block-query alignwide" style="margin-bottom:var(--wp--preset--spacing--40)">
<!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}}} -->
<!-- wp:post-title {"level":3,"isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"margin":{"top":"0","bottom":"0"}}},"textColor":"blueberry-1","fontSize":"normal","fontFamily":"inter"} /-->
<!-- /wp:post-template -->

<!-- wp:query-pagination -->
<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next {"label":"Older Posts"} /-->
<!-- /wp:query-pagination -->
<!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} -->
<div class="wp-block-group alignwide" style="margin-bottom:var(--wp--preset--spacing--40)">
<!-- wp:wporg/article-list /-->
</div>
<!-- /wp:query -->

<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- /wp:group -->

</main>
<!-- /wp:group -->
Expand Down

0 comments on commit 65a4419

Please sign in to comment.