These are chat archives for locomotivecms/v3

14th
Feb 2017
Nikolay Bonev
@DonKoko
Feb 14 17:47
Hey everyone
any ideas why this is only working in wagon?
        {% with_scope _id: params.category_query %}
            {% assign category_name = contents.categories.first.name %}
            <li><span class="show-for-sr">Current: </span> {{ category_name | capitalize }}</li>
          {% endwith_scope %}
Nikolay Bonev
@DonKoko
Feb 14 17:53
same with this
          {% with_scope _id: params.category_query %}
            {% for category in contents.categories %}
              <li><span class="show-for-sr">Current: </span> {{ category.name | capitalize }}</li>
            {% endfor %}
          {% endwith_scope %}