added hierarchy of templates: main template -> section template -> content