create subtemplates for footer, header, menu