[SHOWSTREAM] Add robots meta-tag for remote profiles

This commit is contained in:
Diogo Cordeiro 2020-01-09 17:02:26 +00:00 committed by Diogo Peralta Cordeiro
parent 684a1a4143
commit 570fc17e8a

View File

@ -217,6 +217,16 @@ class ShowstreamAction extends NoticestreamAction
public function extraHead() public function extraHead()
{ {
if (!$this->target->isLocal()) {
$this->element(
'meta',
[
'name' => 'robots',
'content' => 'noindex',
]
);
}
if ($this->target->bio) { if ($this->target->bio) {
$this->element( $this->element(
'meta', 'meta',