[SHOWSTREAM] Add robots meta-tag for remote profiles
This commit is contained in:
parent
684a1a4143
commit
570fc17e8a
|
@ -217,6 +217,16 @@ class ShowstreamAction extends NoticestreamAction
|
|||
|
||||
public function extraHead()
|
||||
{
|
||||
if (!$this->target->isLocal()) {
|
||||
$this->element(
|
||||
'meta',
|
||||
[
|
||||
'name' => 'robots',
|
||||
'content' => 'noindex',
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
if ($this->target->bio) {
|
||||
$this->element(
|
||||
'meta',
|
||||
|
|
Loading…
Reference in New Issue
Block a user