This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
ayolachll20523
Hi I'm new with october cms, I'm very impressed by it's simplicity and cleanliness of creating a cms site. But as part of the learning process, I need to know on how to get the uri segment from twig.
it would be lovely if I have some thing like this on my views:
{% if uri == '' OR uri == '/' %}
{% partial "navigation.html" %}
{% else %}
{% partial "inner-navigation.html" %}
{% endif %}
1-1 of 1