Skip to content

Commit

Permalink
Make latest-posts full width, with a featured image below the date. I…
Browse files Browse the repository at this point in the history
…ssue #32
  • Loading branch information
bobbingwide committed Jun 2, 2021
1 parent 14685f9 commit bd2cf0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions block-template-parts/latest-posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
<h2 class="has-text-align-center">Latest posts</h2>
<!-- /wp:heading -->

<!-- wp:query {"queryId":7,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"asc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3},"layout":{"inherit":true}} -->
<!-- wp:query {"queryId":7,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3},"layout":{"type":"flex","columns":3}} -->
<div class="wp-block-query"><!-- wp:query-loop -->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
<main class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:post-title {"isLink":true} /-->

<!-- wp:post-excerpt {"wordCount":20} /-->

<!-- wp:post-date /--></main>
<!-- wp:post-date /-->

<!-- wp:post-featured-image /--></main>
<!-- /wp:group -->
<!-- /wp:query-loop --></div>
<!-- /wp:query -->

0 comments on commit bd2cf0d

Please sign in to comment.