From bf183e944f0cbb924b73c84d2c8cdb7b59d35eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=94=E8=90=BD?= <45323514+BigCoke233@users.noreply.github.com> Date: Sat, 6 Apr 2019 16:48:17 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E7=8E=B0=E5=9C=A8=E5=85=B7=E6=9C=89?= =?UTF-8?q?data-pjax=E7=89=B9=E6=80=A7=E7=9A=84=E5=85=83=E7=B4=A0=E6=89=8D?= =?UTF-8?q?=E8=83=BD=E4=BD=BFpjax=E5=93=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- file.php | 2 +- functions.php | 3 +++ includes/footer.php | 4 ++-- includes/head.php | 7 ++++++- includes/header.php | 4 ++-- includes/sidebar.php | 6 +++--- index.php | 2 +- post.php | 5 +++++ post/post-content.php | 3 ++- post/post-item.php | 13 +++++++++---- 10 files changed, 34 insertions(+), 15 deletions(-) diff --git a/file.php b/file.php index 4b387a2..9553d22 100644 --- a/file.php +++ b/file.php @@ -45,7 +45,7 @@ if ($year > $year_tmp || $mon > $mon_tmp) { $output .= ''; } - $output .= '
  • '. $year_tmp .' - '. $mon_tmp .' | '. $archives->title .'
  • '; + $output .= '
  • '. $year_tmp .' - '. $mon_tmp .' | '. $archives->title .'
  • '; } $output .= ''; echo $output; diff --git a/functions.php b/functions.php index 902d8af..191ba5d 100644 --- a/functions.php +++ b/functions.php @@ -7,6 +7,9 @@ function themeFields($layout) { $banner = new Typecho_Widget_Helper_Form_Element_Text('banner', NULL, NULL, _t('文章缩略图'), _t('填入一个图片url作为缩略图,显示在文章列表和文章页面顶部,不填写则没有缩略图')); $layout->addItem($banner); + $topic = new Typecho_Widget_Helper_Form_Element_Text('topic', NULL, NULL, _t('题记'), _t('输入一段话,作为题记显示在文章列表(仅普通文章有效) 和 文章内页')); + $layout->addItem($topic); + $type=new Typecho_Widget_Helper_Form_Element_Select('type',array('0'=>'一般文章','1'=>'说说','2'=>'小板式文章(New)'),'0','文章类型'); $layout->addItem($type); } diff --git a/includes/footer.php b/includes/footer.php index eedc7a0..74c3c29 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -8,7 +8,7 @@
    widget('Widget_Comments_Recent','ignoreAuthor=true')->to($comments); ?> next()): ?> - gravatar(200); ?> + gravatar(200); ?>
    @@ -44,7 +44,7 @@