@!(data, title, header, body, activeMenuItem, additionalActiveMenuItem) @function docsTitle(){ @if(title){ @title | Documentation } else{ Documentation } } @function docsHeader(){ @header() } @function docsBody(){
@body()
} @render(process.cwd() + '/build/site/layouts/default.html', data, docsTitle(), docsHeader, docsBody, 'documentation') @function isMenuItemActive(currentMenuItem) { @if(activeMenuItem === currentMenuItem){ active } }