Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Commit 3384ab5

Browse files
authored
Merge pull request #184 from WordPress/add/static-home-template
TT1 Blocks: Add a static homepage template
2 parents 7720b02 + 7e52652 commit 3384ab5

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!-- wp:template-part {"slug":"header","theme":"tt1-blocks","align":"full", "tagName":"header","className":"site-header"} /-->
2+
3+
<!-- wp:post-content /-->
4+
5+
<!-- wp:template-part {"slug":"footer","theme":"tt1-blocks","align":"full","tagName":"footer","className":"site-footer"} /-->

tt1-blocks/experimental-theme.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@
148148
"name": "Normal"
149149
},
150150
{
151-
"slug": "medium",
152-
"value": "500",
153-
"name": "Medium"
154-
},
155-
{
151+
"slug": "medium",
152+
"value": "500",
153+
"name": "Medium"
154+
},
155+
{
156156
"slug": "semibold",
157157
"value": 600,
158158
"name": "Semibold"
@@ -304,5 +304,10 @@
304304
"lineHeight": "var(--wp--custom--line-height--body)"
305305
}
306306
}
307+
},
308+
"pageTemplates": {
309+
"page-home": {
310+
"title": "Page without title"
311+
}
307312
}
308-
}
313+
}

0 commit comments

Comments
 (0)