Commit e2a4136bdbf9164408ecd09e67036a83dfbcc636

Authored by Administrator
1 parent af40200b

site map

Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
widgets/Seo.php
... ... @@ -229,6 +229,12 @@ class Seo extends Widget
229 229 'name' => 'robots',
230 230 'content' => 'noindex,nofollow'
231 231 ]);
  232 + } else if(!empty($this->{Seo::META})){
  233 +
  234 + $this->getView()->registerMetaTag([
  235 + 'name' => 'robots',
  236 + 'content' => $this->{Seo::META}
  237 + ]);
232 238 } else {
233 239  
234 240 $this->getView()->registerMetaTag([
... ...