[#11] refactored recipe templates to hit the db fewer times