introduce flatten action for theme archives