 				layout = 'doc'
 				categoryName = 'resources'
 				name = a.basename.replace(/^[\-0-9]+/,'')
-				urls = ["/documentation/#{name}"]
-				githubEditUrl = "https://github.com/haxeflixel/haxeflixel.com/blob/master/src/documents/"
-				editUrl = githubEditUrl + a.relativePath
+				urls = ['/documentation/#{name}']
+				githubEditUrl = "https://github.com/HaxeFlixel/flixel-docs/edit/master/documentation/"
+				editUrl = githubEditUrl + a.basename
 				document.setMetaDefaults({
 					layout
 					url: urls[0]

				categoryName = 'handbook'
				categoryTitle = "Handbook"
				name = a.basename.replace(/^[\-0-9]+/,'')
				urls = ["/documentation/#{name}"]
				githubEditUrl = "https://github.com/haxeflixel/haxeflixel.com/blob/master/src/documents/"
				editUrl = githubEditUrl + a.relativePath
				document.setMetaDefaults({
					layout
					url: urls[0]
					categoryName
          categoryTitle
          editUrl
        }).addUrl(urls)

		resources: (database) ->
			query =

				a = document.attributes
				layout = 'doc'
				name = a.basename.replace(/^[\-0-9]+/,'')
				urls = ['/documentation/#{name}']
				categoryName = 'getting_started'
				categoryTitle = 'Getting Started'
				githubEditUrl = 'https://github.com/HaxeFlixel/flixel-docs/edit/master/documentation/00_getting_started/'
				editUrl = githubEditUrl + a.basename + '.html.md'
				document.setMetaDefaults({
					layout
					url: urls[0]
