[SHOWSTREAM] Add robots meta-tag for remote profiles
This commit is contained in:
parent
18ade30185
commit
6833c9f1c2
|
@ -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