{% contributors context=publicationContributors %}
is causing contributors created with first_name
last_name
in page YAML to be overwritten
#853
Labels
bug
Actual behavior does not match expected behavior
quire-11ty
This is an issue with the quire-11ty package
status:backlog
Issue is a lower priority but needs to eventually be addressed
Before proceeding, make sure there isn’t an existing issue for this bug.
Expected Behavior
When using the
{% contributors %}
shortcode withcontext=publicationContributors
all the contributors mentioned in page YAML and publication.yaml should be listed on the page with the shortcode. Under each contributor it should list the essays written by each contributor.Actual Behavior
When using the
{% contributors %}
shortcode withcontext=publicationContributors
the shortcode is looking for contributors listed inpublication.yaml
as well as any listed in the page YAML of individual markdown pages. But for those listed in page YAML, the data for each one is overriding the last, except for the links to papers. So, you end up with the info of the last contributor to be listed in the book, but with a list of every paper that all the other overridden contributors were part of.Steps to Reproduce
.md
files using thefirst_name
andlast_name
fields.Version Numbers
[Project]
quire-cli 1.0.0-rc.10
quire-11ty 1.0.0-rc.14
starter /Users/edunigan/GitHub/[email protected]
[System]
quire-cli 1.0.0-rc.10
node v18.16.0
npm 9.5.1
os Darwin 21.6.0
Web Browser
Chrome Version 117.0.5938.88 (Official Build) (x86_64)
Relevant Terminal/Shell Output
Supporting Information
There are two separate Forewords in this project with two separate contributors, but only one contributor is listed with both Forewords.
The text was updated successfully, but these errors were encountered: