Skip to content

Commit

Permalink
修复分页显示
Browse files Browse the repository at this point in the history
  • Loading branch information
smallyunet committed Mar 6, 2019
1 parent a7d5150 commit 106cd61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/includes/recent-posts.pug
Expand Up @@ -2,6 +2,6 @@
.outer
if page.posts.length > 0
ul.list-group
each post in page.posts.sort('date', -1).limit(10).toArray()
each post in page.posts.sort('date', -1).toArray()
li.list-group-item.title
a(href=config.root + post.path, target=theme.post.blank ? "_blank" : "_self")= post.title

0 comments on commit 106cd61

Please sign in to comment.