BioSchemas / specifications

Issue tracker, technical wiki, and example markup
https://bioschemas.org
54 stars 52 forks source link

Profiles with current and former leaders does not show them as contributors #586

Closed ljgarcia closed 2 years ago

ljgarcia commented 2 years ago

https://bioschemas.org/profiles/TrainingMaterial/1.0-RELEASE#nav-contributors does not display the current leads as there is no element lead on the page but current-leads and former-leads

ljgarcia commented 2 years ago

@bedroesb @albangaignard @ivanmicetic could you please have a look at it? I tried to find a solution but other than too many conditionals repeating the body for g.lead and g.current-leads did not find a way. And the page gets overcomplicated in that way. There should be (hopefully) a way in liquid to do something like leaders = g.lead or g.current-leads['person'] and similar for members.

AlasdairGray commented 2 years ago

Fixed in https://github.com/BioSchemas/bioschemas.github.io/pull/564