this code is necessary here because I need '-', 'slides' and 'subslides' to be rendered in the final template.