{# The Home's birthdays + next-event cards (region "side"): v = views.home. #} {% macro bday(p) %}
{{ p.when }}
{{ p.name }}
{{ p.year }}
{% endmacro %} {% set b = v.birthdays %}
0 %} data-ev="{{ b.people[0].id }}"{% endif %}>{% if b.people|length > 0 %}{{ bday(b.people[0]) }}{% else %}
No birthdays
{% endif %}
🎂
1 %} data-ev="{{ b.people[1].id }}"{% endif %}>{% if b.people|length > 1 %}{{ bday(b.people[1]) }}{% endif %}
{% for c in v.cards %}
{% if c.empty %}
{{ c.empty }}
{% else %}
{{ c.when }}
{% if c.icon %}{{ c.icon }} {% endif %}{{ c.title }}
{% endif %}
{% endfor %}