You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
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 %} <div class="privacy__section"> <h4>{{ point.title }}</h4> <p>{{ point.text }}</p> {% if point.href %} <p> For further information please visit: <a href="{{ point.href }}">{{ point.link }}</a> </p> {% endif %} </div> {% endfor %}
The privacy.yml file is currently located in _i18n/en/privacy.yml
Thanks.
The text was updated successfully, but these errors were encountered:
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 %} <div class="privacy__section"> <h4>{{ point.title }}</h4> <p>{{ point.text }}</p> {% if point.href %} <p> For further information please visit: <a href="{{ point.href }}">{{ point.link }}</a> </p> {% endif %} </div> {% endfor %}
The privacy.yml file is currently located in _i18n/en/privacy.yml
Thanks.
The text was updated successfully, but these errors were encountered: