From ba2c1fab5e4ba32a9023e7888b37f3f37a772198 Mon Sep 17 00:00:00 2001
From: Eltrac <45323514+BigCoke233@users.noreply.github.com>
Date: Fri, 4 Oct 2019 13:33:46 +0800
Subject: =?UTF-8?q?=F0=9F=94=96=20Fix:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF?=
=?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=E8=87=AA=E5=AE=9A=E4=B9=89=E6=91=98?=
=?UTF-8?q?=E8=A6=81=20#4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
index.php | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
(limited to 'index.php')
diff --git a/index.php b/index.php
index f37a65a..b8c4a25 100644
--- a/index.php
+++ b/index.php
@@ -1,11 +1,11 @@
Eltrac | 帮助文档:GitHub Wiki>
你现在是用的是 Miracles 主题开发版,强烈建议你更换为发行版
+ * 作者:Eltrac | 帮助文档:GitHub Wiki
你现在是用的是 Miracles 主题开发版,强烈建议你更换为 < a href="https://github.com/BigCoke233/miracles/releases"> 发行版
*
* @package Miracles
* @author Eltrac
- * @version development
+ * @version 1.3.0
* @link https://guhub.cn
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
@@ -55,7 +55,13 @@ $this->need('includes/header.php');
sticky(); ?>title(); ?>
-
excerpt(); ?>
++ fields->excerpt && $this->fields->excerpt!='') { + echo $this->fields->excerpt; + }else{ + echo $this->excerpt(130); + } + ?>
@@ -71,4 +77,4 @@ $this->need('includes/header.php'); -need('includes/footer.php'); ?> +need('includes/footer.php'); ?> \ No newline at end of file -- cgit v1.2.3