{% import "partials/icons.html" as icons %} {% macro share_button() %} {% endmacro %} {% macro share_script() %} {% endmacro %} {% macro coffee_card(roast_name, roaster_name, origin, origin_flag, region, producer, process, tasting_notes) %}

Coffee

Roast
{{ roast_name }}
Roaster
{{ roaster_name }}
{% if origin != "\u{2014}" %}
Origin
{% if !origin_flag.is_empty() %}{{ origin_flag }}{% endif %}{{ origin }}
{% endif %} {% if region != "\u{2014}" %}
Region
{{ region }}
{% endif %} {% if producer != "\u{2014}" %}
Producer
{{ producer }}
{% endif %} {% if process != "\u{2014}" %}
Process
{{ process }}
{% endif %}
{% if !tasting_notes.is_empty() %}
{% for note in tasting_notes %} {{ note.label }} {% endfor %}
{% endif %}
{% endmacro %} {% macro map_with_legend_1(map_countries, map_max, label1, opacity1) %} {% if !map_countries.is_empty() %}
{{ label1 }}
{% endif %} {% endmacro %} {% macro map_with_legend_2(map_countries, map_max, label1, opacity1, label2, opacity2) %} {% if !map_countries.is_empty() %}
{{ label1 }} {{ label2 }}
{% endif %} {% endmacro %} {% macro map_with_legend_3(map_countries, map_max, label1, opacity1, label2, opacity2, label3, opacity3) %} {% if !map_countries.is_empty() %}
{{ label1 }} {{ label2 }} {{ label3 }}
{% endif %} {% endmacro %} {% macro roaster_card(name, country, country_flag, city, homepage) %}

Roaster

Name
{{ name }}
Country
{% if !country_flag.is_empty() %}{{ country_flag }}{% endif %}{{ country }}
{% if let Some(c) = city %}
City
{{ c }}
{% endif %} {% if let Some(url) = homepage %}
Website
Visit Website
{% endif %}
{% endmacro %}