def get_meta_and_content(self):
        regex = re.compile('(?sm)^---(?P<meta>.*?)^---(?P<body>.*)')
        with io.open(self._src_file, "rt", encoding="utf-8") as fd:
            match_obj = re.match(regex, fd.read())
            if match_obj:
                meta = self._get_meta(match_obj.group('meta'))
                text = match_obj.group('body')
                if meta.get('render', True):
                    content = self._parse_markup(text)
                else:
                    content = text
            else:
                raise Exception('extracting page with format error, '
                                'see <http://simiki.org/docs/metadata.html>')

        return (meta, content)
Split the source file texts by triple-dashed lines, return the mata
dataset/ETHPy150Open tankywoo/simiki/simiki/generators.py/PageGenerator.get_meta_and_content