{% macro offer(image_filename, name, description) %}
{% set dir = page.path | trim_start_matches(pat="/") %} {% set image_path = dir ~ image_filename %} {% set image = resize_image(path=image_path, width=400, height=400, op="fill") %}

{{ name }}

{{ description | safe }}

{% endmacro %} {% macro prices_table(caption, names, prices) %}

{{ caption }}

{% for name in names %} {% endfor %}
{{ name }} {{ prices | nth(n=loop.index0) }}

{% endmacro %}