mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 01:14:24 +03:00
Set canonical url for topic
This commit is contained in:
parent
f1698f84cc
commit
23f1a21d23
|
@ -739,6 +739,7 @@ class ActionBlog extends Action {
|
||||||
$sTextSeo=strip_tags($oTopic->getText());
|
$sTextSeo=strip_tags($oTopic->getText());
|
||||||
$this->Viewer_SetHtmlDescription(func_text_words($sTextSeo, Config::Get('seo.description_words_count')));
|
$this->Viewer_SetHtmlDescription(func_text_words($sTextSeo, Config::Get('seo.description_words_count')));
|
||||||
$this->Viewer_SetHtmlKeywords($oTopic->getTags());
|
$this->Viewer_SetHtmlKeywords($oTopic->getTags());
|
||||||
|
$this->Viewer_SetHtmlCanonical($oTopic->getUrl());
|
||||||
/**
|
/**
|
||||||
* Вызов хуков
|
* Вызов хуков
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue