lib.socialnavigation = HMENU
lib.socialnavigation {
    wrap = <nav id="socialNavigation" role="navigation"><ul class="clearfix">|</ul></nav>

    special = directory
    special.value = {$const.global.socialNavigationPid}

    1 = TMENU
    1 {
        NO = 1
        NO {
            allWrap = <li>|</li>
            stdWrap.wrap = <span>|</span>
            stdWrap.htmlSpecialChars = 1
            ATagTitle.field = abstract // description // subtitle // title
            /*
            ATagParams.stdWrap.cObject = TEXT
            ATagParams.stdWrap.cObject {
                case = lower
                field = title
                insertData = 1
                wrap = class="|"
            }
            */
            stdWrap.prepend = TEXT
            stdWrap.prepend {
                case = lower
                field = title
                insertData = 1
                wrap = <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><use xlink:href="#svg-icon-|" /></svg>
            }
        }

        CUR = 1
        CUR < .NO
        CUR {
            allWrap = <li class="active">|</li>
        }
    }
}