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

Nested pages #56

Open
dvidsilva opened this issue Jan 15, 2025 · 0 comments
Open

Nested pages #56

dvidsilva opened this issue Jan 15, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@dvidsilva
Copy link
Contributor

Currently every page that is created for a store is displayed in the list

This shows too many pages and makes it harder to navigage, turning like the blog

After sorting alphabetically compare the slugs and don't display the ones with the ruleset on the /pages

Nested pages are displayed under their parent page

Compare based on -

Expectation

When displaying pages, hide pages that would be nested

A page is nested, if it has a slug that starts with the same string as a previous page, for example the page about-team would be nested under about

When the visitor clicks and displays the about page, at the bottom after the content, there's a list of pages comoponent, titled Related content, that links to the nested pages

To find the nested pages, display links to pates that start with the same string, except itself

When displaying a nested page, the Related content links to the parent page first and then the other ones

@dvidsilva dvidsilva added the enhancement New feature or request label Jan 15, 2025
@dvidsilva dvidsilva added this to the Markket v1 milestone Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants