refactor recipe pages