Skip to content

Commit

Permalink
Merge pull request #184 from WordPress/add/static-home-template
Browse files Browse the repository at this point in the history
TT1 Blocks: Add a static homepage template
  • Loading branch information
carolinan authored Feb 1, 2021
2 parents 7720b02 + 7e52652 commit 3384ab5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
5 changes: 5 additions & 0 deletions tt1-blocks/block-templates/page-home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- wp:template-part {"slug":"header","theme":"tt1-blocks","align":"full", "tagName":"header","className":"site-header"} /-->

<!-- wp:post-content /-->

<!-- wp:template-part {"slug":"footer","theme":"tt1-blocks","align":"full","tagName":"footer","className":"site-footer"} /-->
17 changes: 11 additions & 6 deletions tt1-blocks/experimental-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@
"name": "Normal"
},
{
"slug": "medium",
"value": "500",
"name": "Medium"
},
{
"slug": "medium",
"value": "500",
"name": "Medium"
},
{
"slug": "semibold",
"value": 600,
"name": "Semibold"
Expand Down Expand Up @@ -304,5 +304,10 @@
"lineHeight": "var(--wp--custom--line-height--body)"
}
}
},
"pageTemplates": {
"page-home": {
"title": "Page without title"
}
}
}
}

0 comments on commit 3384ab5

Please sign in to comment.