{#- "Cite us!" beside the home page's sections (home.aside): the hub's references as text, and a dialog that gives each in the format a reader picks. -#} {% from "citation/_cite_dialog.html" import cite_dialog %}

{{ _('Cite us!') }}

{% for reference in references %} {% set work = works(reference) %}

{{ work.creators | map(attribute="name") | join(", ") }}. {{ work.title }}{% if work.container %}, {{ work.container }}{% endif %}{% if work.volume %}, {{ _('Volume') }} {{ work.volume }}{% endif %}{% if work.year %}, {{ work.year }}{% endif %}{% if work.pages %}, {{ work.pages }}{% endif %}{% if work.issn %}, ISSN {{ work.issn }}{% endif %}{% if work.doi %}, https://doi.org/{{ work.doi }}{% endif %}

{% endfor %}
{{ cite_dialog( "citationHubModal", _("How to cite us"), sources, citation_formats, ) }}