public function getCanonical ()
	{
		if (empty($this->advanced['canonical']))
			return \Craft::$app->request->absoluteUrl;

		return $this->advanced['canonical'];
	}
public function getCanonical ()
	{
		if (empty($this->advanced['canonical']))
			return \Craft::$app->request->absoluteUrl;

		return $this->advanced['canonical'];
	}
public function getCanonical ( ) { if ( empty ( $ this -> advanced [ 'canonical' ] ) ) return \ Craft :: $ app -> request -> absoluteUrl ; return $ this -> advanced [ 'canonical' ] ; }
Returns the canonical URL (falling back to the current URL if not set)

@return string
Returns the canonical URL ( falling back to the current URL if not set )