gulp/config/navMap-user-defaults.js
function navMap_post_defaults(map, index, parent){

	replaceValues(map, {
		//propertyName : "forced overide value"
		//link : '#',//using this would disable ALL links (including links already defined in the main nav map file)
	});

	return {
		depth: map.location.length,
		index: index,
		//link : '#',//this wouldn't do anything as the "link" property has already been defined by this stage
		//parentName : parent.title,//this would set "parentName" to the current nav items parent title
	}
}
function navMap_post_defaults(map, index, parent){

	replaceValues(map, {
		//propertyName : "forced overide value"
		//link : '#',//using this would disable ALL links (including links already defined in the main nav map file)
	});

	return {
		depth: map.location.length,
		index: index,
		//link : '#',//this wouldn't do anything as the "link" property has already been defined by this stage
		//parentName : parent.title,//this would set "parentName" to the current nav items parent title
	}
}
function navMap_post_defaults ( map , index , parent ) { replaceValues ( map , { //propertyName : "forced overide value" //link : '#',//using this would disable ALL links (including links already defined in the main nav map file) } ) ; return { depth : map . location . length , index : index , //link : '#',//this wouldn't do anything as the "link" property has already been defined by this stage //parentName : parent.title,//this would set "parentName" to the current nav items parent title } }
These defaults are set after the nav map has been fully generated Use this to have access to all the standard values usually present in the nav map Mostly used to define brand new default values
These defaults are set after the nav map has been fully generated Use this to have access to all the standard values usually present in the nav map Mostly used to define brand new default values