 		.map (file) ->
 			out = {
 				date: file[1]
-				title: hmz.titleCase file[2].replace '-', ' '
+				title: hmz.titleCase file[2].replace /-/g, ' '
 				path: [file[1],file[2]].join('-')
 			}
 			

				out
		.then (blogs) ->
			_(blogs).sortBy (blog) ->
				parseInt blog.date.replace('-',''), 10
			.reverse()
			.valueOf()
		.catch (err) -> []

blog_posts = (start,count) ->
	blog_load(true).then (blogs) ->
		_(blogs).sortBy (blog) ->
			parseInt blog.date.replace(/-/g,''), 10
		.slice start, count
		.valueOf()

