Skip to content

Commit

Permalink
Fix meta data variable not working in templates. fix edmundask#11
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundask committed Dec 15, 2012
1 parent e7c112f commit 60cdc55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/Twiggy.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ private function _meta_to_html($meta)

private function _load()
{
$this->_globals['meta'] = $this->_compile_metadata();
$this->set('meta', $this->_compile_metadata(), TRUE);
$this->_rendered = TRUE;

return $this->_twig->loadTemplate($this->_template . $this->_config['template_file_ext']);
Expand Down

0 comments on commit 60cdc55

Please sign in to comment.