hello there, i am currently working on a site using this plugin.
I like to loop over a yml file in a language folder ?
From the _data folder everything worked.
This is my code:
`{% assign pri = site.languageNames[site.lang][privacy] %}
{% for point in pri %}
hello there, i am currently working on a site using this plugin. I like to loop over a yml file in a language folder ? From the _data folder everything worked.
This is my code:
`{% assign pri = site.languageNames[site.lang][privacy] %} {% for point in pri %}
{{ point.title }}
{{ point.text }}
{% if point.href %}For further information please visit: {{ point.link }}
{% endif %}{% endfor %} `
The privacy.yml file is currently located in _i18n/en/privacy.yml
Thanks.