php templating using reusable content blocks