Update templates/page.html

Co-authored-by: Henri Bourcereau <henri.bourcereau@gmail.com>
This commit is contained in:
Jeremiah Russell 2025-05-02 12:04:44 +01:00 committed by GitHub
parent c788fb9ed8
commit ddc5be9248
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -128,6 +128,7 @@ Current section extra: {% if current_section %}{{ current_section.extra | json_e
{%- set last_author = author_list | last -%}
{%- set other_authors = author_list | slice(end=-1) -%}
{%- set author_separator = macros_translate::translate(key="author_separator", default=", ", language_strings=language_strings) -%}
{%- set author_separator = '</span>' ~ author_separator ~ '<span class="p-author">' -%}
{%- set conjunction = macros_translate::translate(key="author_conjunction", default=" and ", language_strings=language_strings) -%}
{%- set conjunction = '<span>' ~ conjunction ~ '<span class="p-author">' -%}
{%- set author_string = other_authors | join(sep=author_separator) -%}