Is there a way to change the ID attribute of the navigation template tag?
From what I can tell there's no way to change the ID attribute of the {% nav site.navigation %} template tag.
I would like to have a menu in my site footer, in addition to the header -- but as is, the nav template tag produces two <ul> tags with the same id.
Is there a way to specify an ID for the nav tag, without me manually having to construct the menu?
(As an aside, my preference is for template tags and such to not assume a default ID.)
Comments are currently closed for this discussion. You can start a new one.
2 Posted by John Nunemaker on 17 Oct, 2010 09:54 PM
Just pass id. See
http://docs.harmonyapp.com/harmony-templates/template-tags/#object-nav.
{% nav site.navigation, id:'nav-sec' %}
On Sat, Oct 16, 2010 at 2:29 PM, Kyle Fox <
***@tenderapp.com<tender%***@tenderapp.com>
> wrote:
3 Posted by Kyle Fox on 18 Oct, 2010 02:36 AM
My bad -- I must have missed that. Thanks!
Kyle Fox closed this discussion on 18 Oct, 2010 02:36 AM.