You are here

seoMetaRobotsFollow

Used by the following Containers: 
Variable Type: 
Custom Javascript
Follow or NoFollow attribute of the page.
	function() {
 var seoMetaRobotsList = {{seoMetaRobots}}.split(', ');
 var seoMetaRobotsListLength = seoMetaRobotsList.length;
 var seoMetaRobotsFollow = 'follow';
 var i;

 for ( i = 0; i < seoMetaRobotsListLength; i++ ) {
   if ( seoMetaRobotsList[i] == 'nofollow' ) {
     seoMetaRobotsFollow = 'nofollow'
   }
 }
 return seoMetaRobotsFollow;
}