Generalized content templating