Skip to content

Commit

Permalink
Merge pull request #182 from D-Sketon/fix_page
Browse files Browse the repository at this point in the history
fix: Index 在有且只有置顶文章时渲染错误
  • Loading branch information
zkz098 authored Dec 29, 2023
2 parents 9ca61eb + 7de0839 commit 16f25cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/generaters/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ hexo.extend.generator.register('index', function (locals) {
data: {
__index: true,
catlist,
sticky
sticky,
current: 1,
}
}]
}
Expand Down

0 comments on commit 16f25cb

Please sign in to comment.