{% set authors_data = load_data(path="authors.json") -%}
{% for author in post.authors -%}
{% set meta = get_image_metadata(path="authors/" ~ author ~ ".jpg", allow_missing=true) -%}
{% if meta -%}
{% set image = resize_image(path="authors/" ~ author ~ ".jpg", width=48, height=48) -%}
{% else -%}
{% endif -%}
{% endfor %}
{% for author in post.authors -%}
{{ authors_data[author].display_name }}{% if not loop.last %},{% endif %}
{% endfor %}