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

Build: some pages are built to wrong path #642

Open
musicEnfanthen opened this issue May 20, 2024 · 3 comments
Open

Build: some pages are built to wrong path #642

musicEnfanthen opened this issue May 20, 2024 · 3 comments
Assignees

Comments

@musicEnfanthen
Copy link
Member

musicEnfanthen commented May 20, 2024

There seems to be an inconsistency in the URL structure for certain pages (such as projects, tools, and tutorials). Specifically, these pages appear to be loosing a segment from their URLs when navigating to their sub pages.

For instance:

Overview Page Corresponding Sub Page
https://music-encoding.org/community/projects-users.html https://music-encoding.org/projects/aruspix.html
https://music-encoding.org/resources/tools.html https://music-encoding.org/tools/encoding-tools
https://music-encoding.org/resources/tutorials.html https://music-encoding.org/tutorials/100-structure.html

In each of these examples, the corresponding page's URL is missing a segment from the overview page's URL. This could potentially lead to confusion.

For the conference pages this works fine:

Overview Page Corresponding Sub Page
https://music-encoding.org/conference/past.html https://music-encoding.org/conference/2022/

The issue is probably related to the setup of the projects/tools/tutorials collections in the _config.yml:

collections:
projects:
output: true
permalink: /:collection/:name
tools:
output: true
permalink: /:collection/:name
tutorials:
output: true
permalink: /:collection/:name
tutorials-ES:
output: true
permalink: /:collection/:name
conferences:
output: true
permalink: /:collection/:name

@bwbohl
Copy link
Member

bwbohl commented May 22, 2024

You're probably right and thanks for spotting, missed to check on that when updating the tools section…

@musicEnfanthen
Copy link
Member Author

Yes, exactly, that would keep the structure of the subpages intact.

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