gruntjs/grunt-contrib-jade — pull request #7 by yavorskiy (2012-12-03 05:36:55+00:00)
Title: Allow options.data to be a function in 'jade' task.

Function will be applied for each file in source array.
Function takes 'dest' and 'src' arguments and returns an object.

This would help to pass data values specific to template path,
for example relative URLs for JS/CSS assets.