{% macro pic_item(title, src, class="") %}
<div class="image-item{% if class %} {{class}}{% endif %}">
    <img src="{{ get_url(path=src) }}" />
    <div>{{ title }}</div>
</div>
{% endmacro pic_item %}
