Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TT1 Blocks: Fix or remove front page template #167

Closed
fklein-lu opened this issue Jan 13, 2021 · 2 comments
Closed

TT1 Blocks: Fix or remove front page template #167

fklein-lu opened this issue Jan 13, 2021 · 2 comments

Comments

@fklein-lu
Copy link

The TT1 has a front-page.html template that only shows the post content.

There are two main issues with this:

  1. The original theme does not seem to have a front page template.
  2. But front page templates need to respect the reading settings. This means that if the homepage is set to display posts, a list of posts should be displayed. So there most be a loop and a blog display here.
@carolinan
Copy link
Collaborator

This need to be solved with the query block(?) up streams, and the theme can be adjusted afterwards.

@fklein-lu
Copy link
Author

No, the template needs to be fixed. Because there's no Query Block in there.

Add a Query Block to the template, have it inherit the Main Query, and it all will work as expected.

Or better yet remove the template, since the original Twenty Twenty-One theme doesn't have a front page template either, and TT1 is supposed to be a block version of that theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants