From dc5f12ffa69020d8e48090be8d7c5e97dbc18171 Mon Sep 17 00:00:00 2001 From: haoouba <2323333339@qq.com> Date: Tue, 16 Feb 2021 19:18:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/function.php | 2 +- functions.php | 11 +++++++++++ public/include.php | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/core/function.php b/core/function.php index 44a7d7f..0af07dc 100644 --- a/core/function.php +++ b/core/function.php @@ -3,7 +3,7 @@ /* 获取主题当前版本号 */ function _getVersion() { - return "5.0.7"; + return "5.0.8"; }; /* 判断是否是手机 */ diff --git a/functions.php b/functions.php index 5230eee..c68a9fb 100644 --- a/functions.php +++ b/functions.php @@ -587,6 +587,17 @@ function themeConfig($form) $JAside_Wap_Image->setAttribute('class', 'joe_content joe_image'); $form->addInput($JAside_Wap_Image); + $JShare_QQ_Image = new Typecho_Widget_Helper_Form_Element_Textarea( + 'JShare_QQ_Image', + NULL, + "https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/assets/img/link.png", + 'QQ分享链接图片', + '介绍:用于修改在QQ内分享时卡片链接显示的图片
+ 格式:图片地址' + ); + $JShare_QQ_Image->setAttribute('class', 'joe_content joe_image'); + $form->addInput($JShare_QQ_Image); + $JIndex_Carousel = new Typecho_Widget_Helper_Form_Element_Textarea( 'JIndex_Carousel', NULL, diff --git a/public/include.php b/public/include.php index bb1bf50..77daab8 100644 --- a/public/include.php +++ b/public/include.php @@ -52,6 +52,7 @@ + <?php $this->archiveTitle(array('category' => '分类 %s 下的文章', 'search' => '包含关键字 %s 的文章', 'tag' => '标签 %s 下的文章', 'author' => '%s 发布的文章'), '', ' - '); ?><?php $this->options->title(); ?>