Customize single post template
This commit is contained in:
parent
71ed072f7c
commit
7bdf0ea3db
@ -1,15 +1,30 @@
|
|||||||
<!-- wp:template-part {"slug":"header","tagName":"header","area":"header"} /-->
|
<!-- wp:template-part {"slug":"header","theme":"cmt-engineering-theme","tagName":"header","area":"header"} /-->
|
||||||
|
|
||||||
<!-- wp:heading -->
|
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained","contentSize":"1000px","wideSize":"1300px"}} -->
|
||||||
<h2 class="wp-block-heading"></h2>
|
<div class="wp-block-group"
|
||||||
<!-- /wp:heading -->
|
style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
|
||||||
|
<!-- wp:spacer {"height":"14px"} -->
|
||||||
|
<div style="height:14px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
|
||||||
<!-- wp:post-content /-->
|
<!-- wp:group {"metadata":{"name":"Post metadata"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-title {"style":{"typography":{"fontSize":"30px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"padding":{"bottom":"0"},"margin":{"bottom":"0"}}},"textColor":"primary"} /-->
|
||||||
|
|
||||||
<!-- wp:query {"queryId":70,"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
<!-- wp:post-date {"style":{"typography":{"fontStyle":"normal","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"padding":{"top":"0"}}},"textColor":"primary"} /-->
|
||||||
<div class="wp-block-query"><!-- wp:post-template -->
|
</div>
|
||||||
<!-- wp:post-featured-image /-->
|
<!-- /wp:group -->
|
||||||
<!-- /wp:post-template --></div>
|
|
||||||
<!-- /wp:query -->
|
|
||||||
|
|
||||||
<!-- wp:template-part {"slug":"footer","tagName":"footer","area":"footer"} /-->
|
<!-- wp:post-content /-->
|
||||||
|
|
||||||
|
<!-- wp:separator {"className":"is-style-dots"} -->
|
||||||
|
<hr class="wp-block-separator has-alpha-channel-opacity is-style-dots" />
|
||||||
|
<!-- /wp:separator -->
|
||||||
|
|
||||||
|
<!-- wp:spacer {"height":"42px"} -->
|
||||||
|
<div style="height:42px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","theme":"cmt-engineering-theme","tagName":"footer","area":"footer"} /-->
|
Loading…
Reference in New Issue
Block a user