lib.subnavigation = HMENU
lib.subnavigation {
    stdWrap.wrap = <nav id="subNavigation" role="navigation"><ul>|</ul></nav>
    stdWrap.required = 1

    entryLevel = 1

    1 = TMENU
    1 {
        expAll = 1

        NO = 1
        NO {
            wrapItemAndSub  = <li>|</li>
            stdWrap.htmlSpecialChars = 1
            ATagTitle.field = abstract // description // subtitle // title
        }

        ACT = 1
        ACT < .NO
        ACT {
            wrapItemAndSub  = <li class="active">|</li>
        }

        CUR = 1
        CUR < .ACT

        IFSUB = 1
        IFSUB < .NO
        IFSUB {
            wrapItemAndSub = <li class="hasSub">|</li>
            #ATagParams = class="dropdown-toggle" data-toggle="dropdown"
            #stdWrap.noTrimWrap = || <span class="caret"></span>|
        }

        ACTIFSUB = 1
        ACTIFSUB < .IFSUB
        ACTIFSUB.wrapItemAndSub = <li class="active hasSub">|</li>

        CURIFSUB = 1
        CURIFSUB < .ACTIFSUB
    }

    2 < .1
    2.wrap = <ul>|</ul>

    3 < .2
}