{{ year_data.year }}
{% for month_num in range(1, 13) %}
{% set month_data = year_data.months | selectattr('month', 'equalto', month_num) | list | first %}
{% if month_data %}
{{ month_abbrs[month_num] }}
{% else %}
{{ month_abbrs[month_num] }}
{% endif %}
{% endfor %}