Pages\Profile\View: Add nofollow for post/topics links

This commit is contained in:
Visman 2023-11-11 21:34:33 +07:00
parent fadf4098ba
commit c2be23603a

View file

@ -271,6 +271,7 @@ class View extends Profile
]
),
'title' => __('Show posts'),
'rel' => 'nofollow',
];
$fields['topics'] = [
'class' => ['pline'],
@ -285,6 +286,7 @@ class View extends Profile
]
),
'title' => __('Show topics'),
'rel' => 'nofollow',
];
} elseif ($this->userRules->showPostCount) {
$fields['posts'] = [