File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 24232423 "avatar_url" : " 1416158" ,
24242424 "github" : " katekalcevich" ,
24252425 "linkedin" : " katekalcevich" ,
2426- "name" : " Kate Kalcevich " ,
2426+ "name" : " Kate Kalcevich" ,
24272427 "teams" : {
24282428 "2024" : [
24292429 " reviewers"
Original file line number Diff line number Diff line change @@ -344,7 +344,17 @@ <h2 id="cite">
344344 < summary > BibTeX</ summary >
345345 < pre id ="bibtex-citation ">
346346@inbook{WebAlmanac.{{ year }}.{{ metadata.get('title').replace(' ', '') }},
347- author = "{% for author in metadata.get('authors') -%}
347+ author = "{% set contributors = metadata.get('authors') -%}
348+ {%- if metadata.get('reviewers') and metadata.get('reviewers') | length > =1 -%}
349+ {%- set contributors = contributors + metadata.get('reviewers') -%}
350+ {%- endif -%}
351+ {%- if metadata.get('analysts') and metadata.get('analysts') | length > =1 -%}
352+ {%- set contributors = contributors + metadata.get('analysts') -%}
353+ {%- endif -%}
354+ {%- if metadata.get('editors') and metadata.get('editors') | length > =1 -%}
355+ {%- set contributors = contributors + metadata.get('editors') -%}
356+ {%- endif -%}
357+ {%- for author in contributors|unique -%}
348358 {%- set authordata = config.contributors.get(author, None) -%}
349359 {%- if authordata %}
350360 {%- set full_name = authordata.name.split(' ') -%}
You can’t perform that action at this time.
0 commit comments