Skip to content

Commit

Permalink
Single post template to Term theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaetitia committed May 17, 2024
1 parent dfce47d commit 480df4e
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions term/templates/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"align":"wide"} /-->

<!-- wp:spacer -->
<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:post-date {"style":{"elements":{"link":{"color":{"text":"var:preset|color|custom-grey"}}},"typography":{"textTransform":"uppercase"}},"textColor":"custom-grey","fontSize":"small"} /-->

<!-- wp:post-title {"style":{"typography":{"textTransform":"none","lineHeight":"1.2"}}} /-->

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

<!-- wp:post-content {"fontSize":"medium"} /-->

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

<!-- wp:group {"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} -->
<p class="has-medium-font-size" style="text-transform:uppercase">Written by</p>
<!-- /wp:paragraph -->

<!-- wp:post-author-name {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} /--></div>
<!-- /wp:group -->

<!-- wp:post-author-biography {"fontSize":"medium"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

0 comments on commit 480df4e

Please sign in to comment.