Hi
I've got an array of words in my translation file but I want to display all the values on the page not just one. How do I write the for loop in twig?
en:
homepage:
wordlist: [January, February, March, April, May, June, July, August, September, October, November, December]
I want all the months to output so I tried things like
{% for word in homepage.wordlist[grav.language.getLanguage] %}
but get nothing back. Any idea what the syntax is?