{% macro component(title, to, prev) %} {% if prev %}Previous{% else %}Next{% endif %} {{ title }} {% if prev %}arrow_backward{% else %}arrow_forward{% endif %} {% endmacro %}