diff --git a/index.php b/index.php index 9b4fa56..98c32cd 100755 --- a/index.php +++ b/index.php @@ -41,7 +41,7 @@ $posts[] = [ 'link' => $post->permalink, - 'title' => $post->title, + 'title' => $post->hidden ? '密码保护:' . $post->row['title'] : $post->row['title'], 'thumb' => $thumbnail, ]; } @@ -107,7 +107,7 @@ next()): ?>

- title();?> + hidden ? '密码保护:' . $this->row['title'] : $this->row['title'];?>

excerpt(80,'...'); ?>