diff --git a/README.md b/README.md index 9736b5d..c9df2f0 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,8 @@ ## 感谢 -感谢来自开源社区提供的解决方案,如果没有它们,Single 可能还无法如此完善 ヽ(*≧ω≦)ノ +感谢来自开源社区提供的解决方案,简化了本项目的不少工作! - [Kico Style](https://github.com/Dreamer-Paul/Kico-Style) - [Font Awesome](https://github.com/FortAwesome/Font-Awesome) - - [Smooth-Scroll](https://github.com/cferdinandi/smooth-scroll) - - [Prism](https://github.com/PrismJS/prism) \ No newline at end of file + - [Prism](https://github.com/PrismJS/prism) diff --git a/archive.php b/archive.php index b0b9766..5a34669 100644 --- a/archive.php +++ b/archive.php @@ -36,7 +36,7 @@
没有找到结果 (QWQ)
- pageNav('«', '»'); ?> + pageNav('«', '»', 3, "...", array('wrapTag' => 'section', 'itemTag' => 'span')); ?> diff --git a/comments.php b/comments.php index 3da3532..fec7114 100644 --- a/comments.php +++ b/comments.php @@ -5,12 +5,12 @@ function threadedComments($comments, $options, $single = "Dreamer-Paul") { $commentClass = ''; - if($comments -> authorId == $comments -> ownerId){ - $commentClass .= 'comment-by-author'; - } - else{ - $commentClass .= 'comment-by-user'; - } + if($comments -> authorId == $comments -> ownerId){ + $commentClass .= 'comment-by-author'; + } + else{ + $commentClass .= 'comment-by-user'; + } $commentLevelClass = $comments -> levels > 0 ? ' comment-child' : ''; @@ -59,7 +59,7 @@ function threadedComments($comments, $options, $single = "Dreamer-Paul") { user -> hasLogin()): ?> @@ -83,7 +83,7 @@ function threadedComments($comments, $options, $single = "Dreamer-Paul") { have()): ?>