 			Documents.forEach (Document) ->
 				++tasks.total
 				render(
-					Document,
+					# Document
+					Document
+					# layoutData
 					{
 						Documents: Documents
 						DocumentModel: DocumentModel
 						Document: Document
-					},
+						Site: {
+							date: new Date()
+						}
+					}
+					# next
 					tasks.completer()
 				)
 	

				fileMeta.fullPath = fileFullPath
				fileMeta.relativePath = fileRelativePath
				fileMeta.relativeBase = (if relativeDirPath.length then relativeDirPath+'/' else '')+path.basename(fileRelativePath,path.extname(fileRelativePath))
				fileMeta.url = '/'+fileMeta.relativeBase+'.html'
				fileMeta.body = fileBody
				fileMeta.title = fileMeta.title || path.basename(fileFullPath)
				fileMeta.date = new Date(fileMeta.date || fileStat.ctime)
				fileMeta.slug = util.generateSlugSync fileMeta.relativeBase

				# Store fileMeta
				next fileMeta
		

# -------------------------------------
# Prototypes

Array::hasCount = (arr) ->
	count = 0
	for a in this
		for b in arr
