This commit is contained in:
haoouba 2021-02-16 19:18:55 +08:00
parent d25cf5252c
commit dc5f12ffa6
3 changed files with 13 additions and 1 deletions

View File

@ -3,7 +3,7 @@
/* 获取主题当前版本号 */
function _getVersion()
{
return "5.0.7";
return "5.0.8";
};
/* 判断是否是手机 */

View File

@ -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内分享时卡片链接显示的图片 <br/>
格式:图片地址'
);
$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,

View File

@ -52,6 +52,7 @@
<meta name="format-detection" content="telephone=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
<meta itemprop="image" content="<?php $this->options->JShare_QQ_Image() ?>" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, shrink-to-fit=no, viewport-fit=cover">
<link rel="shortcut icon" href="<?php $this->options->JFavicon() ?>" />
<title><?php $this->archiveTitle(array('category' => '分类 %s 下的文章', 'search' => '包含关键字 %s 的文章', 'tag' => '标签 %s 下的文章', 'author' => '%s 发布的文章'), '', ' - '); ?><?php $this->options->title(); ?></title>