 		# if we aren't do a permanent redirect
 		url = document.get('url')
 		if url isnt pageUrl
-			console.log(url, url.indexOf?);
 			return res.redirect(301,url)
 
 		# Serve the document to the user
 		docpad.serveDocument({document,req,res,next})
 
-	# Server Middelware: 404
+	# Server Middleware: 404
 	serverMiddleware404: (req,res,next) =>
 		# Prepare
 		docpad = @

				docpad.log 'debug', "Wrote #{collection.length} files"
				return next()

		# Cycle
		collection.forEach (file) -> tasks.push (complete) ->
			# Skip
			dynamic = file.get('dynamic')
			write = file.get('write')


					# Perform the re-render of the selected files
					docpad.generateRender {collection:filesToRender}, (err) ->
						return finish(err)  if err

						# Finish up
						docpad.generatePostpare {count:filesToRender.length}, (err) ->
							return finish(err)

		# Re-load and re-render everything
		else
