public function robots($entity)
    {
        $robots = [];

        $index = (bool)Configure::read('Settings.Cms.SEO.meta-robots-index');
        if ($entity->meta_robots_index !== null) {
            $index = $entity->meta_robots_index;
        }
        $robots[] = ($index) ? 'index' : 'noindex';

        $follow = (bool)Configure::read('Settings.Cms.SEO.meta-robots-follow');
        if ($entity->meta_robots_follow !== null) {
            $follow = $entity->meta_robots_follow;
        }
        $robots[] = ($follow) ? 'follow' : 'nofollow';

        $noodp = (bool)Configure::read('Settings.Cms.SEO.meta-robots-noodp') || !empty($entity->meta_description);
        if ($noodp) {
            $robots[] = 'noodp';
        }

        return $this->_render(self::ATTR_NAME, __FUNCTION__, join(',', $robots));
    }