mirror of
https://github.com/e107inc/e107.git
synced 2025-08-27 16:20:13 +02:00
Basic per-item search engine robots handling added to News and Pages.
This commit is contained in:
@@ -607,6 +607,12 @@ class news_front
|
||||
|
||||
if($type == 'news')
|
||||
{
|
||||
|
||||
if(!empty($news['news_meta_robots']))
|
||||
{
|
||||
e107::meta('robots', $news['news_meta_robots']);
|
||||
}
|
||||
|
||||
if($news['news_title'] && !defined('e_PAGETITLE'))
|
||||
{
|
||||
define('e_PAGETITLE', $news['news_title']);
|
||||
|
Reference in New Issue
Block a user