diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-10-06 13:50:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-06 13:50:43 +0800 |
| commit | 82c7f852a1119ec41ec4c6312b96978dd61a90c8 (patch) | |
| tree | f58a1a40d4735d3018eaca6b8d0c41dac7d6bf64 /archive.php | |
| parent | fe7b6a3946ed034e4ec3d658da153dc0ccef99d0 (diff) | |
📌 Perf: 一些细节的调整
Diffstat (limited to 'archive.php')
| -rw-r--r-- | archive.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/archive.php b/archive.php index 8e8d820..d87bfa5 100644 --- a/archive.php +++ b/archive.php @@ -12,19 +12,19 @@ $this->need('includes/header.php'); 'author' => _t('%s 发布的文章') ), '', ''); ?></h2> <?php if ($this->have()): ?> + <hr> <?php else: ?> <p style="text-align:center">居然没有找到相关内容</p> <?php endif; ?> <?php while($this->next()): ?> - <a href="<?php $this->permalink(); ?>" class="post-link"> + <a href="<?php $this->permalink(); ?>" class="post-link archive-item"> <h3 class="archive-item-title"><?php $this->title(); ?></h3> - <p class="arvchive-item-excerpt"><?php $this->excerpt(); ?></p> + <p class="archive-item-excerpt"><?php $this->excerpt(); ?></p> </a> - <hr /> + <br> <?php endwhile; ?> - <div class="post-pagenav"> - <span class="post-pagenav-left"><?php $this->pageLink('<i class="iconfont icon-chevron-left"></i>'); ?></span> - <span class="post-pagenav-right"><?php $this->pageLink('<i class="iconfont icon-chevron-right"></i>','next'); ?></span> + <div class="archive-pagenav"> + <?php $this->pageNav('«', '»'); ?> </div> </div> </div> |
