96 lines
5.0 KiB
PHP
96 lines
5.0 KiB
PHP
<?php
|
|
/**
|
|
* Title: Offset post without featured image
|
|
* Slug: twentytwentyfive/template-single-offset
|
|
* Template Types: posts, single
|
|
* Viewport width: 1400
|
|
* Inserter: no
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twenty_Five
|
|
* @since Twenty Twenty-Five 1.0
|
|
*/
|
|
|
|
?>
|
|
<!-- wp:template-part {"slug":"header"} /-->
|
|
|
|
<!-- wp:group {"tagName":"main","align":"wide","layout":{"type":"default"}} -->
|
|
<main class="wp-block-group alignwide">
|
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--40)">
|
|
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|50"}},"border":{"bottom":{"color":"var:preset|color|accent-6","width":"1px"},"top":[],"right":[],"left":[]}},"layout":{"type":"default"}} -->
|
|
<div class="wp-block-group alignwide" style="border-bottom-color:var(--wp--preset--color--accent-6);border-bottom-width:1px;padding-bottom:var(--wp--preset--spacing--50)">
|
|
<!-- wp:post-title {"level":1,"align":"wide","fontSize":"xx-large"} /-->
|
|
<!-- wp:post-terms {"term":"category","style":{"typography":{"textTransform":"uppercase","letterSpacing":"1.4px"}}} /-->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
|
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--50)">
|
|
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
|
|
<div class="wp-block-group alignwide">
|
|
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|50"}}}} -->
|
|
<div class="wp-block-columns">
|
|
<!-- wp:column {"width":"30%"} -->
|
|
<div class="wp-block-column" style="flex-basis:30%">
|
|
<!-- wp:group {"style":{"spacing":{"blockGap":"4px"}},"fontSize":"small","layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
|
<div class="wp-block-group has-small-font-size">
|
|
<!-- wp:paragraph -->
|
|
<p><?php esc_html_e( 'Published on', 'twentytwentyfive' ); ?></p>
|
|
<!-- /wp:paragraph -->
|
|
<!-- wp:post-date /-->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column {"width":"70%"} -->
|
|
<div class="wp-block-column" style="flex-basis:70%">
|
|
<!-- wp:post-content {"layout":{"type":"default"}} /-->
|
|
</div>
|
|
<!-- /wp:column -->
|
|
</div>
|
|
<!-- /wp:columns -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
|
|
<!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group alignwide" style="margin-top:0;margin-bottom:0">
|
|
<!-- wp:group {"ariaLabel":"<?php esc_attr_e( 'Post navigation', 'twentytwentyfive' ); ?>","tagName":"nav","align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"top":{"color":"var:preset|color|accent-6","width":"1px"},"right":{},"bottom":{},"left":{}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
|
<nav class="wp-block-group alignwide" aria-label="<?php esc_attr_e( 'Post navigation', 'twentytwentyfive' ); ?>" style="border-top-color:var(--wp--preset--color--accent-6);border-top-width:1px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
|
|
<!-- wp:post-navigation-link {"type":"previous","showTitle":true,"arrow":"arrow"} /-->
|
|
<!-- wp:post-navigation-link {"showTitle":true,"arrow":"arrow"} /-->
|
|
</nav>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
|
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)">
|
|
<!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|50"}}}} -->
|
|
<div class="wp-block-columns alignwide">
|
|
<!-- wp:column {"width":"30%"} -->
|
|
<div class="wp-block-column" style="flex-basis:30%">
|
|
<!-- wp:spacer {"height":"var:preset|spacing|20"} -->
|
|
<div style="height:var(--wp--preset--spacing--20)" aria-hidden="true" class="wp-block-spacer"></div>
|
|
<!-- /wp:spacer -->
|
|
</div>
|
|
<!-- /wp:column -->
|
|
<!-- wp:column {"width":"70%","style":{"spacing":{"padding":{"top":"0","bottom":"0"}}}} -->
|
|
<div class="wp-block-column" style="padding-top:0;padding-bottom:0;flex-basis:70%">
|
|
<!-- wp:pattern {"slug":"twentytwentyfive/comments"} /-->
|
|
</div>
|
|
<!-- /wp:column -->
|
|
</div>
|
|
<!-- /wp:columns -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</main>
|
|
<!-- /wp:group -->
|
|
|
|
<!-- wp:template-part {"slug":"footer"} /-->
|