 				return next null, layout
 
 	# Render
-	# next(err)
+	# next(err,finalExtension)
 	render: (triggerRenderEvent,templateData,next) ->
 		# Log
 		logger.log 'debug', "Rendering the file #{@relativePath}"

			@extensions = @basename.split /\./g
			@extensions.shift()
			@extension = @extensions[0]
			@filename = @basename.replace(/\..*/, '')

			# Temp

			@date = new Date(@date)  if @date
			@slug = util.generateSlugSync @relativeBase
			@id = @slug
			
			# Refresh data
			@refresh()

			# Apply user meta
			for own key, value of fileMeta
				@[key] = value

			# Complete
			tasks.complete()
	
	# Refresh data
	refresh: ->
		@url = '/'+@relativeBase+'.'+@extensionRendered
	
	# getParent
	# next(err,layout)
