src/File.php
private function render() {
        $parsed_data = Parser::parse($this->input_path);

        if ($parsed_data['frontmatter'] !== false && !$this->should_ignore()) {
            return Template::render($parsed_data['content'], $parsed_data['frontmatter']);
        }

        return $parsed_data['content'];
    }
private function render() {
        $parsed_data = Parser::parse($this->input_path);

        if ($parsed_data['frontmatter'] !== false && !$this->should_ignore()) {
            return Template::render($parsed_data['content'], $parsed_data['frontmatter']);
        }

        return $parsed_data['content'];
    }
private function render ( ) { $ parsed_data = Parser :: parse ( $ this -> input_path ) ; if ( $ parsed_data [ 'frontmatter' ] !== false && ! $ this -> should_ignore ( ) ) { return Template :: render ( $ parsed_data [ 'content' ] , $ parsed_data [ 'frontmatter' ] ) ; } return $ parsed_data [ 'content' ] ; }
run this file through our templating engine
run this file through our templating engine