|
@@ -356,20 +356,6 @@ abstract class Page extends Model
|
|
|
*/
|
|
|
protected function getpageHeaders(): array
|
|
|
{
|
|
|
- if ($this->canonical) {
|
|
|
- $this->pageHeader('canonical', 'link', 0, [
|
|
|
- 'rel' => 'canonical',
|
|
|
- 'href' => $this->canonical,
|
|
|
- ]);
|
|
|
- }
|
|
|
-
|
|
|
- if ($this->robots) {
|
|
|
- $this->pageHeader('robots', 'meta', 11000, [
|
|
|
- 'name' => 'robots',
|
|
|
- 'content' => $this->robots,
|
|
|
- ]);
|
|
|
- }
|
|
|
-
|
|
|
if (1 === $this->user->g_search) {
|
|
|
$this->pageHeader('opensearch', 'link', 0, [
|
|
|
'rel' => 'search',
|