Good Day to all!!
is there a way to get the for loop name?
e.q.
{% for chicken in site.posts %}
{% endfor %}
get the for loop name: chicken
Good Day to all!!
is there a way to get the for loop name?
e.q.
{% for chicken in site.posts %}
{% endfor %}
get the for loop name: chicken
not that I know of, but you could make a variable? {% assign loopname = 'checken' %} {{loopname}}
yes… thank sir. .this is great… first time to know assign… hehe