From e045d79712c6e5f1a307129de219ab9c104162ce Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Tue, 14 Apr 2020 16:00:01 +0800 Subject: =?UTF-8?q?:dragon=5Fface:=20Add:=20=E6=94=AF=E6=8C=81=E5=9C=A8?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=B8=AD=E8=87=AA=E5=AE=9A=E4=B9=89=20Favico?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/head.php | 2 +- libs/Options.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/head.php b/includes/head.php index 404f6c2..eb6fcfe 100644 --- a/includes/head.php +++ b/includes/head.php @@ -39,7 +39,7 @@ else: $this->options->bannerUrl(); endif;}?>" /> - + header('description=&commentReply='); ?> options->headerEcho(); ?> diff --git a/libs/Options.php b/libs/Options.php index c3d84d0..193a16b 100755 --- a/libs/Options.php +++ b/libs/Options.php @@ -108,8 +108,10 @@ function themeConfig($form) { $form->addInput($bannerTitle); $bannerIntro = new Typecho_Widget_Helper_Form_Element_Text('bannerIntro', NULL, NULL, _t('站点介绍'), _t('用一句话介绍你的站点,会显示在首页大图上')); $form->addInput($bannerIntro); - $avatar = new Typecho_Widget_Helper_Form_Element_Text('avatar', NULL, NULL, _t('站长头像'), _t('输入一个图片 url 作为头像,若为空则调用 gravatar
')); + $avatar = new Typecho_Widget_Helper_Form_Element_Text('avatar', NULL, NULL, _t('站长头像'), _t('输入一个图片 url 作为头像,若为空则调用 gravatar')); $form->addInput($avatar); + $favicon = new Typecho_Widget_Helper_Form_Element_Text('favicon', NULL, NULL, _t('Favicon'), _t('输入一个图片 url 作为 Favicon,显示在浏览器标签页上,为空则调用主题目录下的 favicon.ico
')); + $form->addInput($favicon); //nav $navStyle = new Typecho_Widget_Helper_Form_Element_Select('navStyle',array('0'=>'顶部导航栏','1'=>'左侧抽屉栏'),'0','

导航栏 Nav

类型','选择导航栏的类型(若选择左侧抽屉蓝,则下一条设置失效)'); -- cgit v1.2.3