lib.rootline = COA
lib.rootline {
	wrap = <ol>|</ol>
	10 = HMENU
	10 {
		special = rootline
		special.range = 0|-1
		1 = TMENU
		1 {
			NO = 1
			NO {
				ATagTitle.field = subtitle // title
				wrapItemAndSub =  <li>|</li>
				stdWrap.htmlSpecialChars = 1
			}
			CUR < .NO
			CUR {
				wrapItemAndSub =  <li class="current">|</li>
				linkWrap = <h1>|</h1>
				doNotLinkIt = 1
			}
		}
	}
	# Add news title if on single view
	20 = RECORDS
	20 {
		stdWrap.if.isTrue.data = GP:tx_news_pi1|news
		dontCheckPid = 1
		tables = tx_news_domain_model_news
		source.data = GP:tx_news_pi1|news
		source.intval = 1
		conf.tx_news_domain_model_news = TEXT
		conf.tx_news_domain_model_news {
			field = title
			htmlSpecialChars = 1
		}
		wrap = <li>|</li>
	}
}