Closed scruffian closed 3 years ago
Hi For the template to be selectable in the page attributes in the document sidebar, it also needs to be added to the .json file:
"pageTemplates": {
"page-home": {
"title": "Page without title" (or what ever we want here) -
}
}
On the root level. (https://github.com/WordPress/gutenberg/pull/27778)
Ah I didn't realise that! Thanks. I added a commit for it.
This adds a specific template for the home page, without the page title, so that when its set to be the front page of the site we can hide the title without resorting to CSS.
Follow up to #179