Skip to content

Build: some pages are built to wrong path #642

@musicEnfanthen

Description

@musicEnfanthen

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions