From 6ce3a26479ded9c578759c7dba9ce6e00aa7086d Mon Sep 17 00:00:00 2001 From: Eltrac Koalar Date: Fri, 16 Sep 2022 00:56:08 +0800 Subject: =?UTF-8?q?:grimacing:=20Add:=20=E6=96=87=E7=AB=A0=E7=BC=A9?= =?UTF-8?q?=E7=95=A5=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 4dcc217..9c139c9 100644 --- a/functions.php +++ b/functions.php @@ -31,4 +31,10 @@ function themeFields($layout) _t('是否开启文章目录'), _t('解析文章目录展示在文章页面左侧,代替侧边栏的位置')); $layout->addItem($showTOC); + + $thumbnail = new Typecho_Widget_Helper_Form_Element_Text('thumbnail', NULL, + NULL, + _t('文章缩略图'), + _t('写入图片 url,展示一张图片在文章列表旁边,留空则不显示')); + $layout->addItem($thumbnail); } \ No newline at end of file -- cgit v1.2.3