Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

$posts[] = [
'link' => $post->permalink,
'title' => $post->title,
'title' => $post->hidden ? '密码保护:' . $post->row['title'] : $post->row['title'],
'thumb' => $thumbnail,
];
}
Expand Down Expand Up @@ -107,7 +107,7 @@
<?php while($this->next()): ?>
<a href="<?php $this->permalink() ?>" class="post" >
<h1 class="animated fadeInUp">
<?php $this->title();?>
<?php echo $this->hidden ? '密码保护:' . $this->row['title'] : $this->row['title'];?>
</h1>
<div class="post_preview animated fadeInUp">
<p><?php $this->excerpt(80,'...'); ?></p>
Expand Down