def recursive_ressources(self, children, pages=[]):
        """
        Return a flat ressources list from given children
        """
        for branch in children:
            for leaf_name, leaf_content in branch.items():
                datas = leaf_content['data']
                pages.append(self.view(
                    title=leaf_name,
                    template_name=datas['link'],
                    destination=datas['link'],
                    sitemap=self.sitemap,
                ))
                if datas['is_dir']:
                    pages = self.recursive_ressources(leaf_content['children'])
        return pages