{%for yr in yrs %}{% set yr_loop = loop %}{%for month in months[loop.index0]%}{% set month_loop = loop %}{%for name in names[yr_loop.index0][loop.index0]%}{%if loop.first %}{%if month_loop.first %}{% endif %}{% endif %}{% endfor %}{% endfor %}YearMonthName{{ yr }}{{ month }}{{ name }}