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

				return next null, layout

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

					templateData.content = @contentRendered
					layout.render triggerRenderEvent, templateData, (err) =>
						@contentRendered = layout.contentRendered
						@extensionRendered = layout.extension
						@refresh()
						logger.log 'debug', "Rendering completed for #{@relativePath}"
						next err
			else
