{% 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) -%} Benutzerbild von {{ authors_data[post.authors.0].display_name }} {% else -%}
{% endif -%}
{% endfor %}