Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Change post pattern on home.html, update template slugs #706

Conversation

luminuu
Copy link
Member

@luminuu luminuu commented Oct 27, 2023

Description

This PR fixes the issues around template names and query loops not inheriting the default loop, raised in #705 and #404. It replaces the original posts-grid-2-col pattern with the posts-3-col pattern, wrapped in a group block to align with the rest of the layout and the original h2 headline. This fixes the issues raised in #705 with ignoring the main query and breaking the navigation.

Renaming the home.html template file to front-page.html fixes the issue when a separate blog page is set, giving the users full control over the theme with the settings they make in Settings -> Reading. This was raised in #404.

In addition, I've renamed the slugs of the template and page to the full file names, so they're the same as the other templates and patterns and are easier recognizable.

I'm aware this "breaks" aka reverts the original design, but I have to agree with @felixarntz that we should aim to not break the core functionality of the main query. I'm currently not aware what the capabilities of the query loop block in terms of design are and if there can be a different design for the query, but for now we should stick to this. If users want to go back to the original design with the three posts, they can totally do so and replace the main query, but then it's their active decision.

I'd be interested in getting feedback from @MaggieCabrera, @beafialho, @richtabor and anyone in @WordPress/block-themers.

Screenshots
The screenshot shows my test environment with the recent changes, including how 10 posts with images and an extra sticky post would look like on the main page, with the default WordPress settings.

CleanShot 2023-10-27 at 21 33 18@2x

Testing Instructions

  1. Check out this PR
  2. Go to Appearance -> Site Editor
  3. Click on Templates
  4. Click on "Manage all templates" at the bottom
  5. Make sure to revert any customizations if necessary
  6. Check out the Front Page template
  7. Open the frontend
  8. Test the navigation/pagination

@luminuu luminuu linked an issue Oct 27, 2023 that may be closed by this pull request
@huzaifaalmesbah
Copy link
Collaborator

Thanks For PR @luminuu
Looks good. I think need more opinions and testing.

Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @luminuu for the PR. Regarding the primary bug raised, I think this looks great.

I also am of course in favor of generally renaming home.html to front-page.html as mentioned, but there is another concern about that, see e.g. in #404 (comment).

I added a suggestion on how we can fix that below, but it's a bit more complicated. I'm curious to hear your thoughts, but if that change would go too far, we should probably limit this PR to only fixing the home.html template (without renaming it to front-page.html) and then continue exploring a solution for the renaming separately.

<h2 class="wp-block-heading alignwide has-x-large-font-size" style="margin-top:0;line-height:1"><?php esc_html_e( 'Watch, Read, Listen', 'twentytwentyfour' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:pattern {"slug":"twentytwentyfour/posts-3-col"} /-->
Copy link
Member

@felixarntz felixarntz Oct 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is used as part of front-page.html while the WordPress site is configured to display a "static front page", it would look odd, since in that case there would only be the one page, with its excerpt shown in one of the three columns.

I'm not sure how we could fix this without modifying the WordPress template hierarchy. Honestly, I find this an odd configuration of WordPress core to choose front-page regardless of whether that page is configured to show the blog or a static page.

Potentially we can use the frontpage_template_hierarchy filter to customize this for TT4 to prefer a custom template, e.g. something like:

add_filter(
	'frontpage_template_hierarchy',
	function ( $templates ) {
		if ( is_home() ) {
			array_unshift( $templates, 'front-page-home.php' );
		}
		return $templates;
	}
);

If we did that in functions.php, we could have both a front-page.html and front-page-home.html template for the individual situations. front-page-home.html could use the content as is here, while front-page.html would instead replace those post columns with something similar to page.html, i.e. displaying the content of a single individual page.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to see a video of how that would work with the Site Editor. Why is it a PHP file? How do users edit it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting more confused the more we talk about it. I assumed this was an issue so I renamed it, and now it seems to be a bigger issue that it's renamed? I'm fine reverting this change, but I have a hard time understanding what would be the best case, as it feels like whatever we do it's not. Adding code to fix something is not my preferred idea, because then you have to further explain how things work, and it will be harder for the average user to work with TT4. Since it's a legacy product, that's not what I want to achieve.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this shouldn't be fixed in the theme

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably limit this PR to only fixing the home.html template (without renaming it to front-page.html) and then continue exploring a solution for the renaming separately.

I'm good with this as well; to keep the scope/discussion focused.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with you all that fixing it in the theme would be merely a workaround for it being fixed in core, so I'm totally supportive of not doing that. We just won't be able to use this template as front-page.html until that part is fixed in core. I'm happy to open a Trac ticket for that part, so that at least in the future it could be reconsidered.

@luminuu

I'm getting more confused the more we talk about it. I assumed this was an issue so I renamed it, and now it seems to be a bigger issue that it's renamed?

It's an issue that the blog template only shows the blog posts buried far down on the page, but that's a separate and minor issue compared to what I flagged in #705 / https://core.trac.wordpress.org/ticket/59759.

Given the above limitations of core, I think we should for now stick to only fixing the home.html template, without renaming it. In other words, that won't address #404, but it will address #705 / https://core.trac.wordpress.org/ticket/59759.

@carolinan
Copy link
Contributor

The space between the posts and the CTA above the footer is very large.

With query pagination showing (Reading settings are set to show 4 posts)
Front page with query pagination)

Without query pagination showing (Reading settings are set to show 10 posts)
Front page with query pagination

@carolinan
Copy link
Contributor

Page 2 is working now:

Front page when navigating to page two of the blog section

@carolinan
Copy link
Contributor

With a static page selected in the reading settings:

Static front page)

Ideally this should only display the title (optionally) and content of the page and nothing else. There is no way right now to encourage the user to update the template if they changed the pages under Settings > Reading instead of the Site Editor.

@carolinan
Copy link
Contributor

I do not believe this is a theme problem:
When I select a static page as the front page in the reading settings, and go to Appearance > Editor, the preview is showing me a standard page template with the title, an empty featured image block, and my page content.
It is not showing me the front page template which I would expect.

@MaggieCabrera
Copy link
Collaborator

MaggieCabrera commented Oct 30, 2023

I one hundred percent don't believe this is a theme issue. We've had the front-page vs blog template debate since the dawn of block themes, and we are still having it with no solution in sight. These are our options and our concerns:

home.html

  • Blog is meant to contain blog posts so the template we get is not what users would expect
  • If a user changes to display a static page, the "Blog" template is still not acting as a blog
  • Pagination on the query loop of home doesn't work because the query loop doesn't inherit

front-page.html

  • When a theme uses a front-page.html template, the reading settings no longer work – it doesn’t matter what you put in your reading settings, the home page will always show the content of the front-page.html template.
  • If users update their home page content in front-page.html and then switch theme, they lose their content.

The concerns with the query loop on our current iteration of blog are valid because we are using the blog template. But the page is very clearly not a blog. And the 3 featured posts are NOT a query loop in the classic sense of the word. They are not meant to show more than 3 posts, they just feature the last 3 posts. We are using the query block because it's a tool in our arsenal, it's never meant to care about the reading settings because this is a static page and I think that is OK.

Not every WordPress theme needs to feature a home page that is meant for blogging, and this is a fundamental pillar this theme is built on, we are seeing a business site (though we provide an alternative blogging template and another for portfolios that are perfect replacements for the default one and that don't suffer from this issue). The fact that choosing to build a theme that deviates from the blogging paradigm and that it keeps encountering this kind of issues and concerns is pretty telling and something we need to collectively figure out, regardless of the end decision we make for TT4.

What would happen if we removed the query block pattern from the blog altogether? Is that not a valid template for a theme to use as home page? (assuming we would rename it to front-page, since it really isn't a blog) Would that not be a valid design decision for a default theme? I think that is a little concerning.

I'm not sure about the changes being made to the pattern in this PR, I would like the designer's opinion on this, particularly at this point in the release cycle.

/cc @richtabor @jasmussen @scruffian @mikachan @jffng @beafialho

@MaggieCabrera
Copy link
Collaborator

My proposed solution

@beafialho
Copy link

Here's a suggestion to adapt the blog section on the business template. It looks more refined this way, I think.

blog

On mobile:
blog_mobile

@MaggieCabrera
Copy link
Collaborator

@luminuu I'm going to work on this, I closed my other PR, and I will add this new pattern to yours if that's ok? I'm full on this this morning

@MaggieCabrera
Copy link
Collaborator

I implemented a new query loop that inherits following Bea's design. I didn't make it a pattern because that introduces new translatable strings. We can edit this on a point release to include them as a pattern for reusing, but that is not a blocker. Does this sound like a good solution to everyone?

Screenshot 2023-10-30 at 12-46-17 wp-stable

@luminuu
Copy link
Member Author

luminuu commented Oct 30, 2023

That's looking really nice, thank you! I'm going to test this later today.

Would love it @felixarntz is able to give feedback on the question I had at the requested changes.

@richtabor
Copy link
Member

richtabor commented Oct 30, 2023

Summarizing the changes:

Current (trunk)

Out of the box WordPress

No changes, as homepage display set to "latest posts":

CleanShot 2023-10-30 at 10 46 27

Homepage display to "Static page" (using sample page)

The "home" changes to use the post content of the selected page (in this example, the default "Sample Page").

CleanShot 2023-10-30 at 10 48 54

The page that was the homepage is now the "Blog Home":

CleanShot 2023-10-30 at 10 49 26

Proposed:

Out-of-the-box WordPress

No changes, as homepage display set to "latest posts":

CleanShot 2023-10-30 at 10 31 00

Homepage display to "Static page"

Create a "Blog" page, and assign the existing "Sample" page as the home page in homepage display:

CleanShot 2023-10-30 at 10 33 01
CleanShot 2023-10-30 at 10 33 21

The "Blog" page:

CleanShot 2023-10-30 at 10 38 00

@richtabor
Copy link
Member

There's an opportunity to reduce the complexity here in core, but I do lean towards the proposal here. The out-of-the-box WordPress settings work better, and are less changes when switching the reading settings.

Copy link
Collaborator

@MaggieCabrera MaggieCabrera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, let's try and find a solution in core so we can bring more variety to default themes front pages

patterns/template-home-business.php Outdated Show resolved Hide resolved
patterns/page-home-business.php Outdated Show resolved Hide resolved
@luminuu
Copy link
Member Author

luminuu commented Oct 30, 2023

I just have reverted the name change from front-page.html back to the original home.html, as @felixarntz pointed out in the comment above.

@felixarntz
Copy link
Member

felixarntz commented Oct 30, 2023

@MaggieCabrera

I one hundred percent don't believe this is a theme issue. We've had the front-page vs blog template debate since the dawn of block themes, and we are still having it with no solution in sight.

I agree. FWIW I hadn't heard about this debate before, and only recently noticed that concern myself. But I think we're mixing up two different topics / issues here. The renaming of home.html to front-page.html cannot reasonably done at the moment because of a limitation in WordPress core. But that's not what #705 is about (also see #706 (comment)).

The concerns with the query loop on our current iteration of blog are valid because we are using the blog template. But the page is very clearly not a blog. And the 3 featured posts are NOT a query loop in the classic sense of the word. They are not meant to show more than 3 posts, they just feature the last 3 posts. We are using the query block because it's a tool in our arsenal, it's never meant to care about the reading settings because this is a static page and I think that is OK.

I understand it's meant that way, but as long as it's in the home.html template, it breaks the expectations. However, per the above, it's also questionable to rename it front-page.html in the current situation because that template may also show the blog - or a static page.

Not every WordPress theme needs to feature a home page that is meant for blogging

This is the only statement in your comment that I fundamentally disagree with. I get that not every website is for blogging, and not every theme needs to focus on blogging. But every theme, especially the default theme, needs to support the capabilities and features that WordPress offers by default.

I agree there are several limitations in WordPress core that will need to be addressed to improve the situation for the future. But we cannot just break expected WordPress behavior. As long as WordPress has the setting that the home page shows the latest posts (with that being the default), we'll need to support that in a theme, especially the WordPress default theme. And again, this is a core problem more than a theme problem, but we shouldn't ignore that in the theme.

Overall, also looking at your other PR, I think other than the one statement we're on the same page regarding that there are broader issues with how these expectations work in WordPress as a whole.

For me, regardless of what we expect a home page to show, there is one technical limitation of WordPress core that prevents us from achieving what we want to achieve with TT4:

  • We want to ship with a static business focused home page. This makes sense to go into a front-page.html template, since that is the template intended for the home page.
  • However, we also need to support WordPress's default configuration of showing the blog of latest posts on the home page, which may or may not be configured in that way.
  • Unfortunately, WordPress core doesn't differentiate between these two configurations in deciding which template to load - it will always pick front-page.html.
  • This used to work fine with classic themes and their PHP templates, as those themes would just have something like if ( is_home() ) { /* Show blog posts. */ } else { /* Show static page content. */ }. But with the block theme paradigm, that expectation of WordPress core is no longer reasonable.
  • If core supported picking a separate template depending on the configuration of the home page setting, I think we would be able to address the concerns in a way that satisfy your expectations regarding what TT4 should be focused on, while also satisfying the feature set that WordPress core expects.
  • That said, the home.html template is intended for the blog, so it needs to support the capability of showing the blog posts, including navigation etc.

Obviously, we won't be able to address this core limitation for 6.4, so we'll have to find another way to work within these constraints and get to some trade-off solution. I am not sure I understand your current idea correctly, so it would be great if you could clarify that one more time. What do you propose?

@MaggieCabrera
Copy link
Collaborator

Obviously, we won't be able to address this core limitation for 6.4, so we'll have to find another way to work within these constraints and get to some trade-off solution. I am not sure I understand your current idea correctly, so it would be great if you could clarify that one more time. What do you propose?

I closed that PR in favor of this one after talking to Bea and her proposing the new pattern that's included in this PR. I think front-page should be able to provide a static page regardless of query block being present at all but like you said, this is not something achievable right now. And I think that is something we should absolutely fix upstream, so this doesn't happen for future default themes and they can decide if the front page is or isn't focused on blogging.

I like that this solution is contained and it doesn't alter the main concept for the theme. Thank you all for keeping an open discussion.

@richtabor
Copy link
Member

We want to ship with a static business focused home page. This makes sense to go into a front-page.html template, since that is the template intended for the home page.
However, we also need to support WordPress's default configuration of showing the blog of latest posts on the home page, which may or may not be configured in that way.

Doesn't this proposal resolve both of these? Where you see the latest posts on the home page, while also having a home page that is not solely a blog?

@richtabor
Copy link
Member

richtabor commented Oct 30, 2023

I just have reverted the name change from front-page.html back to the original home.html, as @felixarntz pointed out in the comment above.

Based on the flows detailed in #706 (comment), the proposed PR (with the name change) seems to work better. Would appreciate feedback on the before/after, and other considerations.

TLDR, if we use front-page.html, the home page stays the home page, when you change reading settings. You can still do whatever you'd like template editing wise, but you don't loose the homepage as you know it (as the setting reverts to using post content).

…s-navigation' of github.com:WordPress/twentytwentyfour into 705-blog-template-homehtml-ignores-main-query-and-breaks-navigation
Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In its current state, the PR addresses the problem outlined in #705, so this LGTM.

There's an outstanding conversation to address in #706 (comment), though I'll leave that to y'all to decide on. I left my feedback there for consideration.

@luminuu
Copy link
Member Author

luminuu commented Oct 30, 2023

I'm quickly summarizing the difference between the behaviour of home.html and front-page.html

If "Your homepage displays" is set to "Your latest posts"

Both home.html and front-page.html show as homepage on the website.

home.html and static pages set for both Home and Blog

  • Home: showing the selected page
  • Blog: showing current page-home-business.php template and blog posts show the latest posts

front-page.html and static pages set for both Home and Blog

  • Home: showing current page-home-business.php template and blog posts there show only the set page, not all blog posts
  • Blog: showing the index.html template

Based on what's happening with the query loop when renaming to front-page.html I'd leave it as is with home.html. Thoughts?

@MaggieCabrera
Copy link
Collaborator

I think with the changes to the query block, leaving this as home sounds good, then the user doesn't lose the settings from the sidebar to change the number of posts, they don't need to fish for those options.

@felixarntz
Copy link
Member

felixarntz commented Oct 30, 2023

@richtabor

We want to ship with a static business focused home page. This makes sense to go into a front-page.html template, since that is the template intended for the home page.
However, we also need to support WordPress's default configuration of showing the blog of latest posts on the home page, which may or may not be configured in that way.

Doesn't this proposal resolve both of these? Where you see the latest posts on the home page, while also having a home page that is not solely a blog?

The PR in its current state does address this indeed. The remaining issues are:

  • When you configure WordPress to show a static front page, it won't show the current business focused template anymore - which is sort of expected, but a bit strange, given that the business template looks more like a static page than it is focused on the blog posts.
  • When you configure WordPress to have a dedicated blog page (that is not the home page), it'll still show this business template. That template makes sense for a home page, but not for a page expected to focus on the blog.

That said, those two problems cannot reasonably be fixed by TT4 at this point, as they are limited by the current problematic WordPress core behavior. So I don't think we should get hung up on them for this PR. I've just opened a Trac ticket https://core.trac.wordpress.org/ticket/59767 for us to be able to at least address this limitation in the (hopefully near) future.

@felixarntz
Copy link
Member

felixarntz commented Oct 30, 2023

@luminuu I agree this would be best left as is, in home.html, given the core limitations.

If "Your homepage displays" is set to "Your latest posts"

Both home.html and front-page.html show as homepage on the website.

Maybe worth adding: Unfortunately, WordPress will choose front-page.html over home.html in this situation. If that wasn't the case, we would have been able to consider a solution where TT4 provides both front-page.html and home.html: We could have renamed the business home template to front-page.html and replicated index.html as home.html, so that the business template would only be used when WordPress is configured to show a static front page. But that's not possible, and even then it probably wouldn't be the right solution. 🙃

So I hope we can address this with more flexible template selection via https://core.trac.wordpress.org/ticket/59767 in the future.

@luminuu luminuu changed the title Rename home to front-page, change pattern, update template slugs Change post pattern on home.html, update template slugs Oct 30, 2023
@luminuu
Copy link
Member Author

luminuu commented Oct 30, 2023

Quick heads up I've renamed the title of this PR as the renaming has been reverted and will most likely not make it into the merge.

@MaggieCabrera
Copy link
Collaborator

I made the query block part into a pattern as discussed and I'm bringing this in. Thank you all for your patience getting this fixed

@MaggieCabrera MaggieCabrera merged commit e2ae63e into trunk Oct 30, 2023
2 checks passed
@MaggieCabrera
Copy link
Collaborator

Core PR here

pento pushed a commit to WordPress/wordpress-develop that referenced this pull request Oct 31, 2023
This update includes the following bugfixes: 

- Fix: Added a new block pattern for the home template that inherits the page query and fits the design of the home page. (more context on the theme repo: WordPress/twentytwentyfour#706)
- Fix: Rely on parent theme data for block style.
- Fix: Categories for some patterns.
- Fix: Minor labeling issues

Follow-up to [56999], [56951], [56813], [56764], [56716].

Props anlino, beafialho, desrosj, devmuhib, didierjm, fabiorubioglio, flixos90, hanneslsm, hellofromTonya, huzaifaalmesbah, ktaron, luminuu, mshowes, onemaggie, phillsav, poena, rajinsharwar, richtabor, shailu25.
Fixes #59770, #59759.

git-svn-id: https://develop.svn.wordpress.org/trunk@57036 602fd350-edb4-49c9-b593-d223f7449a82
markjaquith pushed a commit to markjaquith/WordPress that referenced this pull request Oct 31, 2023
This update includes the following bugfixes: 

- Fix: Added a new block pattern for the home template that inherits the page query and fits the design of the home page. (more context on the theme repo: WordPress/twentytwentyfour#706)
- Fix: Rely on parent theme data for block style.
- Fix: Categories for some patterns.
- Fix: Minor labeling issues

Follow-up to [56999], [56951], [56813], [56764], [56716].

Props anlino, beafialho, desrosj, devmuhib, didierjm, fabiorubioglio, flixos90, hanneslsm, hellofromTonya, huzaifaalmesbah, ktaron, luminuu, mshowes, onemaggie, phillsav, poena, rajinsharwar, richtabor, shailu25.
Fixes #59770, #59759.
Built from https://develop.svn.wordpress.org/trunk@57036


git-svn-id: http://core.svn.wordpress.org/trunk@56547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
github-actions bot pushed a commit to platformsh/wordpress-performance that referenced this pull request Oct 31, 2023
This update includes the following bugfixes: 

- Fix: Added a new block pattern for the home template that inherits the page query and fits the design of the home page. (more context on the theme repo: WordPress/twentytwentyfour#706)
- Fix: Rely on parent theme data for block style.
- Fix: Categories for some patterns.
- Fix: Minor labeling issues

Follow-up to [56999], [56951], [56813], [56764], [56716].

Props anlino, beafialho, desrosj, devmuhib, didierjm, fabiorubioglio, flixos90, hanneslsm, hellofromTonya, huzaifaalmesbah, ktaron, luminuu, mshowes, onemaggie, phillsav, poena, rajinsharwar, richtabor, shailu25.
Fixes #59770, #59759.
Built from https://develop.svn.wordpress.org/trunk@57036


git-svn-id: https://core.svn.wordpress.org/trunk@56547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
pento pushed a commit to WordPress/wordpress-develop that referenced this pull request Oct 31, 2023
This update includes the following bugfixes: 

- Fix: Added a new block pattern for the home template that inherits the page query and fits the design of the home page. (more context on the theme repo: WordPress/twentytwentyfour#706)
- Fix: Rely on parent theme data for block style.
- Fix: Categories for some patterns.
- Fix: Minor labeling issues

Follow-up to [56999], [56951], [56813], [56764], [56716].

Reviewed by flixos90, jorbin.
Merges [57036] to the 6.4 branch.

Props anlino, beafialho, desrosj, devmuhib, didierjm, fabiorubioglio, flixos90, hanneslsm, hellofromTonya, huzaifaalmesbah, ktaron, luminuu, mshowes, onemaggie, phillsav, poena, rajinsharwar, richtabor, shailu25.
Fixes #59770, #59759.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57037 602fd350-edb4-49c9-b593-d223f7449a82
markjaquith pushed a commit to markjaquith/WordPress that referenced this pull request Oct 31, 2023
This update includes the following bugfixes: 

- Fix: Added a new block pattern for the home template that inherits the page query and fits the design of the home page. (more context on the theme repo: WordPress/twentytwentyfour#706)
- Fix: Rely on parent theme data for block style.
- Fix: Categories for some patterns.
- Fix: Minor labeling issues

Follow-up to [56999], [56951], [56813], [56764], [56716].

Reviewed by flixos90, jorbin.
Merges [57036] to the 6.4 branch.

Props anlino, beafialho, desrosj, devmuhib, didierjm, fabiorubioglio, flixos90, hanneslsm, hellofromTonya, huzaifaalmesbah, ktaron, luminuu, mshowes, onemaggie, phillsav, poena, rajinsharwar, richtabor, shailu25.
Fixes #59770, #59759.
Built from https://develop.svn.wordpress.org/branches/6.4@57037


git-svn-id: http://core.svn.wordpress.org/branches/6.4@56548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Blog template home.html ignores main query and breaks navigation
7 participants