Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Consolidate single templates #172

Merged
merged 3 commits into from
Oct 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<main class="wp-block-group">
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:post-featured-image {"overlayColor":"contrast","dimRatio":50,"align":"wide"} /-->
<!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
</div>
<!-- /wp:group -->
Expand Down
1 change: 1 addition & 0 deletions templates/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<main class="wp-block-group">
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:post-featured-image {"overlayColor":"contrast","dimRatio":50,"align":"wide"} /-->
<!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
</div>
<!-- /wp:group -->
Expand Down
19 changes: 0 additions & 19 deletions templates/with-cover-block.html

This file was deleted.

18 changes: 0 additions & 18 deletions templates/with-featured-image.html

This file was deleted.

16 changes: 0 additions & 16 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,6 @@
"page"
],
"title": "404"
},
{
"name": "with-featured-image",
"postTypes": [
"page",
"post"
],
"title": "With Featured Image"
},
{
"name": "with-cover-block",
"postTypes": [
"page",
"post"
],
"title": "With Cover Block"
}
],
"settings": {
Expand Down