{% extends "layout/base.html" %} {# If a user chooses these fields, they carry between different pages. #} {% set product_args = { 'product_name': product.name, 'year': year, 'month': month, 'day': day } %} {% set additional_page_args=additional_page_args or {} %} {% set product_args_label -%} {%- if year -%} {%- if not day %} across {%- else %} on {%- endif -%} {%- if month -%} {%- if day %} {{ day | day_ordinal}} {%- endif %} {{ month | month_name }} {%- endif %} {{ year }} {%- else %} whole collection {%- endif -%} {%- endset %} {% set back_to_product_overview %}
{% endset %} {% block title -%} {{ product.name }} {{ product_args_label }} {%- endblock %} {% block header %}