 					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

			@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)
