-
Notifications
You must be signed in to change notification settings - Fork 92
Rework the default template for a better first experience #243
Conversation
@@ -140,7 +140,7 @@ | |||
"spacing": { | |||
"small": "max(1.25rem, 5vw)", | |||
"medium": "clamp(2rem, 8vw, calc(4 * var(--wp--style--block-gap)))", | |||
"large": "8rem" | |||
"large": "clamp(4rem, 10vw, 8rem)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With 8530d12, the PR also adds a new block pattern to represent the header used on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all works for me, with one disclaimer: with recent changes to the site editor, I do not know how to access the archive
or index
templates from the site editor.
That said, they are looking fine on the front-end.
Thanks!
Yeah, my understanding is that either: the template browser sidebar will be added back into 5.9, or the there will be a resolution to WordPress/gutenberg#35994 in time. 👍 |
Potentially closes #116.
This PR tackles a couple issues that came up during some recent testing:
index
andarchive
templates, which made editing the homepage index template a little awkward: In the editor you'd see an "Archive Title" block by default when you opened the Site editor, but this block was invisible on the front end.This PR tackles that by changing our single
index.html
template into three separate templates:archive.html
: This is identical to today'sindex.html
. It has an Archive Title block.index.html
: Same as today'sindex.html
, but with no Archive Title block. This may be a useful fallback for CPTs or media, where you don't necessarily need an "Archive Title" displayed at the top.home.html
: A new template. This uses a new "Small Dark Header" template part that is designed to bring a little bit of the personality of ourpage-home.html
template into the default blog page. When users install a fresh site, this will be what they see first. This is a way to basically give them some nice "starter content" without actually giving them starter content. I think it's good enough to just close out Add starter content #116.Screenshots:
(All screenshots taken on fresh install)
Before:
After: