/** * meta method * * Overriden only to add canonical link option * * @param mixed $type * @param mixed $url null * @param array $attributes array() * @param bool $inline true * @return void * @access public */ public function meta($type, $url = null, $attributes = array(), $inline = true) { if ($type === 'canonical') { return '<link rel="canonical" href="' . $this->url($url, true) . '"/>'; } return parent::meta($type, $url, $attributes, $inline); }