lib/plugins/collate.js
function _render(text, fields, fileInfo, context) 
{
	var options = _.extend({}, default_options, this.plugin_options);
	if (options.disable === true)
		return text;
	//l.vvlogd(l.dump(options));

	_collateData(fields, options, fileInfo, context);
	if (!fields.dynamic_list)
		fields.dynamic_list = _field_dynamic_list;
	var dl = fields.dynamic_list;
	/*//debug dynlists...
	fields.dynamic_list = function() { 
		l.vlog("Dynlist for: " + fileInfo.relPath)
		dl.call(this)
		}
	*/
	return fields.content;
}
function _render(text, fields, fileInfo, context) 
{
	var options = _.extend({}, default_options, this.plugin_options);
	if (options.disable === true)
		return text;
	//l.vvlogd(l.dump(options));

	_collateData(fields, options, fileInfo, context);
	if (!fields.dynamic_list)
		fields.dynamic_list = _field_dynamic_list;
	var dl = fields.dynamic_list;
	/*//debug dynlists...
	fields.dynamic_list = function() { 
		l.vlog("Dynlist for: " + fileInfo.relPath)
		dl.call(this)
		}
	*/
	return fields.content;
}
function _render ( text , fields , fileInfo , context ) { var options = _ . extend ( { } , default_options , this . plugin_options ) ; if ( options . disable === true ) return text ; //l.vvlogd(l.dump(options)); _collateData ( fields , options , fileInfo , context ) ; if ( ! fields . dynamic_list ) fields . dynamic_list = _field_dynamic_list ; var dl = fields . dynamic_list ; /*//debug dynlists...
	fields.dynamic_list = function() { 
		l.vlog("Dynlist for: " + fileInfo.relPath)
		dl.call(this)
		}
	*/ return fields . content ; }
the main entry point for the plugin
the main entry point for the plugin