I have a footer nav with subpages nested, and when it gets to the 'News' section, I want it to display the list of news article categories. However, I'm not sure what syntax to use for the conditional.

This is what I've got at the moment:

                {{ nav from="/" scope="tag" include_entries="false" max_depth="2" hide_from_footer:isnt="true"}}
                    <li><a href="{{ url }}">{{ title }}</a>
                        {{ if children }}
                           <ul class="submenu">{{ *recursive children* }}</ul>
                        {{ /if }}

                {{ if title=="news" }}            
                 <ul class="submenu">
                                {{ taxonomy:categories }}
                                <li><a href="/news/{{ slug }}">{{ title }}</a></li>
                                {{ /taxonomy:categories }}
                        {{ /if }}                       
                {{ /nav }}

I've also tried {{ if segment_1=="news" }} with no luck. I've tested the {{ taxonomy:categories }} part and that works, so it's the conditional part I need to solve. Thanks!