music-encoding.github.io icon indicating copy to clipboard operation
music-encoding.github.io copied to clipboard

Build: some pages are built to wrong path

Open musicEnfanthen opened this issue 9 months ago • 3 comments

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:

https://github.com/music-encoding/music-encoding.github.io/blob/71df1418a490c4cae2236dfe9b6a82978b3171d2/_config.yml#L111-L126

musicEnfanthen avatar May 20 '24 10:05 musicEnfanthen