[SHOWSTREAM] Add robots meta-tag for remote profiles

This commit is contained in:
Diogo Cordeiro 2020-01-09 17:02:26 +00:00
parent 18ade30185
commit 6833c9f1c2

View File

@ -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',