From 7e06a9cc2ed3bbb4e154f41304630b897ff85317 Mon Sep 17 00:00:00 2001 From: joyqi Date: Wed, 11 Dec 2013 22:51:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BB=A5=E6=9F=90=E4=B8=AApa?= =?UTF-8?q?ge=E4=BD=9C=E4=B8=BA=E9=A6=96=E9=A1=B5=E6=97=B6description?= =?UTF-8?q?=E5=92=8Ckeywords=E4=BC=9A=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- var/Widget/Archive.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/var/Widget/Archive.php b/var/Widget/Archive.php index 9d2c4a9d..508ecf89 100644 --- a/var/Widget/Archive.php +++ b/var/Widget/Archive.php @@ -796,12 +796,6 @@ class Widget_Archive extends Widget_Abstract_Contents } } - /** 设置关键词 */ - $this->_keywords = implode(',', Typecho_Common::arrayFlatten($this->tags, 'name')); - - /** 设置描述 */ - $this->_description = $this->description; - /** 设置模板 */ if ($this->template) { /** 应用自定义模板 */ @@ -823,6 +817,12 @@ class Widget_Archive extends Widget_Abstract_Contents /** 设置标题 */ $this->_archiveTitle = $this->title; + + /** 设置关键词 */ + $this->_keywords = implode(',', Typecho_Common::arrayFlatten($this->tags, 'name')); + + /** 设置描述 */ + $this->_description = $this->description; } /** 设置归档类型 */