Skip to content

Commit

Permalink
添加 jekyll-paginate 插件以支持分页功能,并创建 Gemfile 和 Gemfile.lock 文件
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoWendell committed Nov 17, 2024
1 parent 58ab333 commit 5c4932e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gem 'jekyll', '~> 4.3'
gem 'jekyll-paginate' # 如果你需要分页功能
gem 'wdm', '>= 0.1.0', :platforms => [:mswin, :mingw] # Windows上的文件监视
13 changes: 13 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
GEM
specs:
jekyll-paginate (1.1.0)

PLATFORMS
x64-mingw-ucrt

DEPENDENCIES
jekyll-paginate
wdm (>= 0.1.0)

BUNDLED WITH
2.5.23
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ anchorjs: true # if you want to customize anchor. check
# Gems
# from PR#40, to support local preview for Jekyll 3.0
gems: [jekyll-paginate]
plugins:
- jekyll-paginate



Expand Down

0 comments on commit 5c4932e

Please sign in to comment.