Using the nav tag repeat the parent once in the children I'm using the nav tag to build a menu which works great, but i just want to repeat the parent menu item over to any sub nav. So if there is a sub nav, at the top of the sub navs links, i want the parent url repeated once.

My current code is this

 &lt;ul&gt;
   {% nav page in blah %}
    &lt;li&gt;
         {% if page.level == 1 %}
            &lt;a href="/{{ section.handle }}#{{ page.slug }}"&gt;{{ page.title }}&lt;/a&gt;
                {% else %}
                    {{ page.getLink() }}
         {% endif %}

         {% ifchildren %}
            &lt;ul&gt;
                {% children %}
            &lt;/ul&gt;
         {% endifchildren %}
    &lt;/li&gt;
    {% endnav %}
 &lt;/ul&gt;


and i'm looking at doing something like (but i would love it to work obviously)

 &lt;ul&gt;
   {% nav page in blah %}
    &lt;li&gt;
         {% if page.level == 1 %}
            &lt;a href="/{{ section.handle }}#{{ page.slug }}"&gt;{{ page.title }}&lt;/a&gt;
                {% else %}
                    {{ page.getLink() }}
         {% endif %}

         {% ifchildren %}
            &lt;ul&gt;
            &lt;li&gt;{{ page.parent.getLink() }}&lt;/li&gt; -- this is dodgy
                {% children %}
            &lt;/ul&gt;
         {% endifchildren %}
    &lt;/li&gt;
    {% endnav %}
 &lt;/ul&gt;
I'm an idiot, i can just do:

&lt;ul&gt;
   {% nav page in blah %}
    &lt;li&gt;
         {% if page.level == 1 %}
            &lt;a href="/{{ section.handle }}#{{ page.slug }}"&gt;{{ page.title }}&lt;/a&gt;
                {% else %}
                    {{ page.getLink() }}
         {% endif %}

         {% ifchildren %}
            &lt;ul&gt;
            &lt;li&gt;&lt;a href="/{{ page.slug }}"&gt;{{ page }}&lt;/a&gt;&lt;/li&gt; -- this is dodgy
                {% children %}
            &lt;/ul&gt;
         {% endifchildren %}
    &lt;/li&gt;
    {% endnav %}
 &lt;/ul&gt;