This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A month or so ago, we had a
home.html
template bundled with the theme. This was removed since its use of a Post Content block caused confusion and brought things out of sync with the static homepage setting.Unfortunately, removing the
home.html
template also increased the need for a solution for starter content. Today if you install the theme fresh, you're greeted by these underwhelming views:We can fix this by implementing
home.html
in a slightly different way. If we consider it as "The homepage of the blog", and don't include a Post Content block, then it should work as expected.This provides a far better first experience for users (Enough that I think we could close #116 if this lands). It also works just fine alongside the Static Homepage setting in Settings > Reading.
The only feature that I think blocks this is that we can't generate + include a link to view all posts on a traditional "blog" page. Users can edit the Query block on this
home.html
template to show more than 3 posts, but it doesn't make sense to include pagination because they'll have to scroll past the large header to access every subsequent page. And there's no concept of an independent "Blog" page without a static homepage being set. Any ideas would be appreciated. 🤔