oliverdavies.uk/source/_partials/project/image.html.twig
2016-09-01 08:00:21 +01:00

4 lines
137 B
Twig

{% if page.image -%}
<img src="/assets/images/projects/{{ page.image.name ?: page.image }}" alt="{{ page.image.alt }}">
{%- endif %}