From 255b61904f77fbe1570a4bc3f76141a67865613c Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Mon, 30 Mar 2020 16:00:19 +0800 Subject: =?UTF-8?q?=F0=9F=93=84=20Add:=20=E5=8F=AF=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E4=BA=8C=E7=BB=B4=E7=A0=81=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Options.php | 4 +++- post.php | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/libs/Options.php b/libs/Options.php index c69be60..3780278 100755 --- a/libs/Options.php +++ b/libs/Options.php @@ -111,8 +111,10 @@ function themeConfig($form) { //improve $CDN = new Typecho_Widget_Helper_Form_Element_Select('CDN',array('0'=>'关闭','1'=>'开启'),'0','

优化

CDN 加速加载静态资源(Beta)','开启后静态资源文件调用 JSdelivr 的 CDN 公用库,加快网页加载速度。本身有 CDN 的就不用了,不然反而可能会拖慢速度。'); $form->addInput($CDN); - $ifShowRTA = new Typecho_Widget_Helper_Form_Element_Select('ifShowRTA',array('0'=>'不显示','1'=>'显示'),'0','阅读时长提示 RTA','在文章前加入阅读时长提示,增进用户体验
'); + $ifShowRTA = new Typecho_Widget_Helper_Form_Element_Select('ifShowRTA',array('0'=>'不显示','1'=>'显示'),'0','阅读时长提示 RTA','在文章前加入阅读时长提示,增进用户体验'); $form->addInput($ifShowRTA); + $postQR = new Typecho_Widget_Helper_Form_Element_Text('postQR', NULL, NULL, _t('自定义文章二维码 API'), _t('默认调用 topscan.com 的 API,你可以在这里输入其他的 API 地址,例如:https://api.qrserver.com/v1/create-qr-code/?size=230x230&data=
')); + $form->addInput($postQR); //custom style $grayTheme = new Typecho_Widget_Helper_Form_Element_Select('grayTheme',array('0'=>'关闭','1'=>'开启'),'0','

个性化

哀悼模式','打开后网站变为黑白'); diff --git a/post.php b/post.php index d25d5b9..4f7cf35 100644 --- a/post.php +++ b/post.php @@ -23,7 +23,15 @@ $this->need('includes/header.php'); content(); ?>
- +
分享至: -- cgit v1.2.3