public function getCanonicalUrl() { if ($this->node->hasLoaded()) { return config('i18n.enabled') ? Ajde_Lang::getInstance()->getShortLang() . '/' . $this->node->getSlug() : $this->node->getSlug(); } return ''; }