Abstract some content into a partial.