1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Basic per-item search engine robots handling added to News and Pages.

This commit is contained in:
Cameron
2019-12-02 13:32:21 -08:00
parent e1504b91c0
commit 5cf54d07d2
11 changed files with 80 additions and 3 deletions

View File

@@ -700,6 +700,11 @@ class pageClass
e107::meta('keywords', eHelper::formatMetaKeys($this->page['page_metakeys']));
}
if(!empty($this->page['page_metarobots']))
{
e107::meta('robots', $this->page['page_metarobots']);
}
$tp = e107::getParser();
if($tp->isImage($this->page['menu_image']))