How to create a template output headings of arbitrary type?
Good time of day. Is an arbitrary type news, there are several headings. How to generate template output for these headings? The number of headings is not specified exactly and need the ability to add new categories, so a separate template for each heading is not an option.