Closed jankrcal closed 1 year ago
@mgrabovsky Could you PTAL?
Friendly ping for the review.
Sorry, I haven't had the time yet. I'll take a look on Friday.
No worries, thanks!
Dne st 10. 5. 2023 18:07 uživatel Matěj @.***> napsal:
Sorry, I haven't had the time yet. I'll take a look on Friday.
— Reply to this email directly, view it on GitHub https://github.com/faktaoklimatu/web-core/pull/226#issuecomment-1542467813, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABDOS5HKIEZ4PZDYHDQ7TLXFO4MDANCNFSM6AAAAAAXJCTGSY . You are receiving this because you authored the thread.Message ID: @.***>
This PR makes two changes:
In the process, this PR refactors authors.html a bit - allowing more flexibility (that is needed by a wider range of applications in existing explainers in web-cz). After this PR, each line in authors correspond to one author / group of authors in a similar role. It can be specified by one of the following:
id
: [string id of an internal member]name
: [string expressing the name of an external author]ids
: [array of string ids of internal authors]names-or-ids
: [array of strings that are either id of an internal author or name of an external author]More remarks:
id
andids
enforce existence of such an internal author(s),names-or-ids
not.name
allows specifying externalaffiliation
andlink
. For internal authors, internal links get always auto-generated; internal affiliation gets shown iffshow_internal_affiliation
istrue
.ids
) or on one line each (e.g., usingid
). Each of the options look better in different cases and thus co-exist deliberately.