diff --git a/postlist.php b/postlist.php
index 8392b66..4e949be 100644
--- a/postlist.php
+++ b/postlist.php
@@ -56,13 +56,19 @@
commentsNum('评论', '1 评论', '%d 评论'); ?>
- content); ?>
-
-
-
+ content);
+// 检查自定义字段cover是否已设置
+$cover = $this->fields->cover;
+// 如果自定义字段cover已设置,则优先使用
+// 如果没有设置,则显示文章的第一张图片
+$imageToDisplay = !empty($cover) ? $cover : $firstImage;
+if($imageToDisplay): ?>
+
+
-
pagenav(
'',