'.$post->title.'
'; $post->excerpt(30); - echo '
- '; + echo 'From d23f16c5ffe7c8fe2e68d5dabb01761178aa7781 Mon Sep 17 00:00:00 2001
From: Eltrac Koalar
Date: Sat, 24 Sep 2022 23:59:15 +0800
Subject: =?UTF-8?q?:link:=20Perf:=20=E7=9B=B8=E5=85=B3=E9=93=BE=E6=8E=A5?=
=?UTF-8?q?=E5=8F=AA=E5=9C=A8=E9=A6=96=E9=A1=B5=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
assets/matcha/matcha.post.css | 2 +-
includes/post-list.php | 4 ++--
libs/Matcha.php | 6 ++----
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/assets/matcha/matcha.post.css b/assets/matcha/matcha.post.css
index 5c11ede..e85d2c4 100644
--- a/assets/matcha/matcha.post.css
+++ b/assets/matcha/matcha.post.css
@@ -10,7 +10,7 @@
font-size: 1.05em;
margin: 2em 0
}
-.post-atmain:first-child {
+.post:first-child {
margin-top: 0
}
diff --git a/includes/post-list.php b/includes/post-list.php
index 583ae60..7f0ff46 100644
--- a/includes/post-list.php
+++ b/includes/post-list.php
@@ -6,11 +6,11 @@
'tag' => _t('标签 %s 下的文章'),
'author' => _t('%s 发布的文章')
), '', ''); ?>
- is('index') && $this->options->relatedLinks!=''): ?>
+ is('index') && $this->options->relatedLinks!='' && $this->_currentPage == 1): ?>
options->relatedLinksTitle!=''): ?> options->relatedLinksTitle(); ?>
- options->relatedLinksTitle!='' && $this->options->relatedLinks!=''): ?>最新文章
+ options->relatedLinksTitle!='' && $this->options->relatedLinks!='' && $this->_currentPage == 1): ?>最新文章
'; $post->excerpt(30); - echo '
- '; + echo ''.$item['des'].'
- '; +'.$item['des'].'
'; } echo ''; -- cgit v1.2.3