From fd013a7508cd6a2f3154a65f20c0e0f2e2deb1e4 Mon Sep 17 00:00:00 2001 From: joyqi Date: Fri, 29 Dec 2023 14:34:24 +0800 Subject: [PATCH] fix canonical link meta --- var/Widget/Archive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/Widget/Archive.php b/var/Widget/Archive.php index 95aff2ef..f89793a5 100644 --- a/var/Widget/Archive.php +++ b/var/Widget/Archive.php @@ -966,7 +966,7 @@ class Archive extends Contents $allows = self::pluginHandle()->call('headerOptions', $allows, $this); $title = (empty($this->archiveTitle) ? '' : $this->archiveTitle . ' » ') . $this->options->title; - $header = '' . "\n"; + $header = $this->is('single') ? '' . "\n" : ''; if (!empty($allows['pingback']) && 2 == $this->options->allowXmlRpc) { $header .= '' . "\n";