Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Loop through taxonomy that has a space

Started by Muut Archive 9 years ago · 0 replies · 551 views
9 years ago

I made the mistake of giving a taxonomy a name that has a space and I want to loop through the taxonomy to get the values.

TWIG
{% for tax in page.header.taxonomy.Boat Filter %}
{{ tax ~ ' ' }}
{% endfor %}

How to I get that loop to work? to parse out the space in Boat Filter?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2563 9 years ago
Archive · by Muut Archive, 9 years ago
2 1689 9 years ago
Archive · by Muut Archive, 9 years ago
2 4982 9 years ago
Archive · by Muut Archive, 9 years ago
1 3806 9 years ago
Archive · by Muut Archive, 9 years ago
3 1799 9 years ago