From 1525097b8742596033e06a9ac7ac8d688d9fa99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Mon, 1 Jul 2024 19:08:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=B8=8B=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 6 ++++-- header.php | 2 ++ page-archives.php | 50 ----------------------------------------------- 3 files changed, 6 insertions(+), 52 deletions(-) delete mode 100644 page-archives.php diff --git a/functions.php b/functions.php index 48132c5..1cf51e1 100644 --- a/functions.php +++ b/functions.php @@ -15,8 +15,10 @@ function themeConfig($form) { $form->addInput($twitterurl); $mastodonurl = new Typecho_Widget_Helper_Form_Element_Text('mastodonurl', NULL, NULL, _t('mastodon'), _t('会在个人信息显示')); $form->addInput($mastodonurl); - $sitemapurl = new Typecho_Widget_Helper_Form_Element_Text('sitemapurl', NULL, NULL, _t('sitemap'), _t('会在页脚显示')); - $form->addInput($sitemapurl); + $posturl = new Typecho_Widget_Helper_Form_Element_Text('posturl', NULL, NULL, _t('文章列表地址'), _t('自定义文章列表的地址')); + $form->addInput($posturl); + $postlisttittle = new Typecho_Widget_Helper_Form_Element_Text('postlisttittle', NULL, NULL, _t('文章列表名称'), _t('自定义文章列表的标题')); + $form->addInput($postlisttittle); $cnavatar = new Typecho_Widget_Helper_Form_Element_Text('cnavatar', NULL, 'https://cravatar.cn/avatar/', _t('Gravatar镜像'), _t('默认https://cravatar.cn/avatar/,建议保持默认')); $form->addInput($cnavatar); $twikoo = new Typecho_Widget_Helper_Form_Element_Textarea('twikoo', NULL, NULL, _t('引用第三方评论'), _t('不填写则不显示')); diff --git a/header.php b/header.php index a69369e..f07169a 100644 --- a/header.php +++ b/header.php @@ -36,6 +36,7 @@ -
- -need('footer.php'); ?> - \ No newline at end of file