Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enable jekyll-paginate #21

Merged
merged 4 commits into from
Jun 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
source "https://rubygems.org"
gemspec

gem "appraisal"
gem "jekyll"
gem "jekyll-redirect-from"
gem "webrick"
gem "jekyll-paginate"

group :development do
gem "appraisal"
end
8 changes: 5 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ description: >
a classless CSS framework.
theme: jekyll-theme-classless-simple
header_pages:
- about.md
- view-on-github.md
- about.md
- view-on-github.md
paginate: 5
giscus:
repo: toshimaru/jekyll-theme-classless-simple
repo-id: R_kgDOGifmdQ
Expand All @@ -21,4 +22,5 @@ giscus:
# input-position: bottom
# theme: light
plugins:
- jekyll-redirect-from
- jekyll-redirect-from
- jekyll-paginate
34 changes: 34 additions & 0 deletions _sass/classless-simple/initialize.sass
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,37 @@
.post-meta
color: var(--text-light)
margin: 0

.social-media-list
display: flex
justify-content: center
list-style: none
margin-left: 0
li
margin: 5px 10px 5px 0
&:last-of-type
margin-right: 0
a
display: block
padding: 10px 12px
border: 1px solid var(--border)
text-decoration: none
&:hover
border-color: var(--accent)

// Pagination navbar
.pagination
@extend .social-media-list
li
a, div
min-width: 43px
text-align: center
box-sizing: border-box
div
display: block
padding: 10px 12px
border: 1px solid transparent

&.pager-edge
color: var(--disabled)
border: 1px dashed var(--disabled)
9 changes: 6 additions & 3 deletions gemfiles/jekyll_3.9.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

source "https://rubygems.org"

gem "appraisal"
gem "jekyll", "~> 3.9.0"
gem "jekyll-redirect-from"
gem "webrick"
gem "jekyll-paginate"
gem "jekyll", "~> 3.9.0"

group :development do
gem "appraisal"
end

gemspec path: "../"
9 changes: 6 additions & 3 deletions gemfiles/jekyll_4.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

source "https://rubygems.org"

gem "appraisal"
gem "jekyll", "~> 4.0.0"
gem "jekyll-redirect-from"
gem "webrick"
gem "jekyll-paginate"
gem "jekyll", "~> 4.0.0"

group :development do
gem "appraisal"
end

gemspec path: "../"
9 changes: 6 additions & 3 deletions gemfiles/jekyll_4.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

source "https://rubygems.org"

gem "appraisal"
gem "jekyll", "~> 4.1.0"
gem "jekyll-redirect-from"
gem "webrick"
gem "jekyll-paginate"
gem "jekyll", "~> 4.1.0"

group :development do
gem "appraisal"
end

gemspec path: "../"
9 changes: 6 additions & 3 deletions gemfiles/jekyll_4.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

source "https://rubygems.org"

gem "appraisal"
gem "jekyll", "~> 4.2.0"
gem "jekyll-redirect-from"
gem "webrick"
gem "jekyll-paginate"
gem "jekyll", "~> 4.2.0"

group :development do
gem "appraisal"
end

gemspec path: "../"
9 changes: 6 additions & 3 deletions gemfiles/jekyll_4.3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

source "https://rubygems.org"

gem "appraisal"
gem "jekyll", "~> 4.3.0"
gem "jekyll-redirect-from"
gem "webrick"
gem "jekyll-paginate"
gem "jekyll", "~> 4.3.0"

group :development do
gem "appraisal"
end

gemspec path: "../"
File renamed without changes.