{% set url = page.path ~ path | trim_start_matches(pat="/") -%}
{{ alt }} {% if caption -%}
{{ caption | markdown(inline=true) | safe }}
{% endif -%}