From 76317320c58d6c5a859dbf9e8c8d0d1ca06053dc Mon Sep 17 00:00:00 2001 From: Eltrac <45323514+BigCoke233@users.noreply.github.com> Date: Wed, 17 Jul 2019 13:28:56 +0800 Subject: =?UTF-8?q?=E6=96=87=E7=AB=A0=E6=94=AF=E6=8C=81=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E6=91=98=E8=A6=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 8c21025..2db75f8 100644 --- a/index.php +++ b/index.php @@ -31,7 +31,14 @@ $this->need('includes/header.php');

sticky(); ?>title(); ?>

-

excerpt(); ?>

+

+ fields->excerpt && $this->fields->excerpt!='') { + echo $this->fields->excerpt; + }else{ + echo $this->excerpt(130); + } + ?> +

category(','); ?>  commentsNum('None', 'Only 1', '%d'); ?>  date(); ?>

Read More

-- cgit v1.2.3