<commit_before><?php defined('SYSPATH') or die('No direct script access.');

class View_Kohana_Layout extends Kostache
{
	protected $_layout = 'layout';

	/**
	 * @var string template title
	 */
	public $title = 'Brought to you by KOstache!';

	/**
	 * Renders the body template into the layout
	 */
	public function render($template = null, $view = null, $partials = null)
	{
		$this->_partials+=array(
			'body' => $this->_template
		);

		// Make the layout view the child class's template
		$this->_template = file_get_contents(Kohana::find_file('templates', $this->_layout, 'mustache'));

		return parent::render($template, $view, $partials);
	}

} // End View_Layout<commit_msg>Hopefully last fix for layout issue<commit_after><?php defined('SYSPATH') or die('No direct script access.');

class View_Kohana_Layout extends Kostache
{
	protected $_layout = 'layout';

	/**
	 * @var string template title
	 */
	public $title = 'Brought to you by KOstache!';

	/**
	 * Renders the body template into the layout
	 */
	public function render($template = null, $view = null, $partials = null)
	{
		$this->_partials+=array(
			'body' => $this->_template
		);

		// Make the layout view the child class's template
		$this->_template = $this->_layout;

		return parent::render($template, $view, $partials);
	}

} // End View_Layout
{'fraction_non_alphanumeric': 0.1461944235116805, 'fraction_numerical': 0.0, 'mean_word_length': 4.147286821705427, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2464662', 'n_tokens_mistral': 442, 'n_tokens_neox': 410, 'n_words': 124}