Skip to content

Commit

Permalink
Merge pull request #1 from myst-templates/feat/affiliations
Browse files Browse the repository at this point in the history
Consume affiliations.value as object
  • Loading branch information
fwkoch authored Aug 10, 2023
2 parents f326eef + a911ea7 commit 2dd95e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@

\author{[# for author in doc.authors -#]
\bfseries [-author.name-]\mdseries\\
[#- if author.affiliations #][- author.affiliations|join(", ", "value") -]\\[# endif -#]
[#- if author.affiliations #]
[# for affiliation in author.affiliations #]
[-affiliation.value.name-][# if not loop.last #], [# endif #]
[# endfor #]\\
[#- endif -#]
[#- if not loop.last -#]
\AND
[#- endif -#]
Expand Down

0 comments on commit 2dd95e5

Please sign in to comment.