completely change how templates and partials are rendered

using content() to prepare HTML and render partials. allows caching of
all templates and no string manip