From 8cc227dad2eef9bd039d8e628f0edd2cac0c409a Mon Sep 17 00:00:00 2001 From: Eltrac Koalar Date: Sat, 26 Nov 2022 10:58:20 +0800 Subject: =?UTF-8?q?=F0=9F=A7=AD=20Add:=20=E6=94=AF=E6=8C=81=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E5=AF=BC=E8=88=AA=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Options.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/Options.php') diff --git a/libs/Options.php b/libs/Options.php index 6cb7596..61e289c 100644 --- a/libs/Options.php +++ b/libs/Options.php @@ -176,6 +176,10 @@ function themeConfig($form) { $footerInfo = new Typecho_Widget_Helper_Form_Element_Text('footerInfo', NULL, NULL, _t('页脚附加信息'), _t('

将会在显示在 footer 标签结束之前,即页脚版权信息和不算子统计之后,可以在这里写入备案信息等附加内容

')); $form->addInput($footerInfo); + //自定义导航栏 + $customNav = new Typecho_Widget_Helper_Form_Element_Textarea('customNav', NULL, NULL, _t('自定义导航栏'), _t(' +

用 JSON 书写,具体格式参考文档。

')); + $form->addInput($customNav); //自定义 head $customHead = new Typecho_Widget_Helper_Form_Element_Textarea('customHead', NULL, NULL, _t('自定义 head 头部'), _t('

将会输出在 head 标签结束之前,通常用于引入 css 文件。

')); -- cgit v1.2.3