refactor rakefile to spawn pages with front-matter