Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% set allSites = craft.app.sites.getAllSites() %}
- {% set allGroups = allSites|group('allSites.group') %}
- {% for group, countriesInGroup in allGroups %}
- {{ group }} <br>
- {% for country in countriesInGroup %}
- {{country.language}} <br>
- {% endfor %}
- {% endfor %}
Add Comment
Please, Sign In to add comment