I have a code like this
— html
{% for item in site.social %}
Your data is not structured correctly for that loop. You’d need something like:
social:
- url: URL1
icon: ICON1
- url: URL2
icon: ICON2
I have a code like this
— html
{% for item in site.social %}
Your data is not structured correctly for that loop. You’d need something like:
social:
- url: URL1
icon: ICON1
- url: URL2
icon: ICON2