1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-02 22:45:02 +03:00

Set canonical url for topic

This commit is contained in:
Mzhelskiy Maxim 2012-12-26 20:54:55 +04:00
parent f1698f84cc
commit 23f1a21d23

View file

@ -739,6 +739,7 @@ class ActionBlog extends Action {
$sTextSeo=strip_tags($oTopic->getText());
$this->Viewer_SetHtmlDescription(func_text_words($sTextSeo, Config::Get('seo.description_words_count')));
$this->Viewer_SetHtmlKeywords($oTopic->getTags());
$this->Viewer_SetHtmlCanonical($oTopic->getUrl());
/**
* Вызов хуков
*/