mirror of
https://github.com/cotes2020/chirpy-starter.git
synced 2025-04-18 10:23:27 +10:00
Compare commits
3 Commits
2811bf64ac
...
c07609cce0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c07609cce0 | ||
![]() |
59ad287fb0 | ||
![]() |
0b5185aaea |
2
.gitignore
vendored
2
.gitignore
vendored
@ -23,5 +23,5 @@ package-lock.json
|
||||
!.vscode/tasks.json
|
||||
|
||||
# Misc
|
||||
_sass/dist
|
||||
_sass/vendors
|
||||
assets/js/dist
|
||||
|
4
Gemfile
4
Gemfile
@ -2,7 +2,7 @@
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "jekyll-theme-chirpy", "~> 7.1", ">= 7.1.1"
|
||||
gem "jekyll-theme-chirpy", "~> 7.2"
|
||||
|
||||
gem "html-proofer", "~> 5.0", group: :test
|
||||
|
||||
@ -11,4 +11,4 @@ platforms :mingw, :x64_mingw, :mswin, :jruby do
|
||||
gem "tzinfo-data"
|
||||
end
|
||||
|
||||
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
|
||||
gem "wdm", "~> 0.2.0", :platforms => [:mingw, :x64_mingw, :mswin]
|
||||
|
@ -4,10 +4,10 @@
|
||||
|
||||
Jekyll::Hooks.register :posts, :post_init do |post|
|
||||
|
||||
commit_num = `git rev-list --count HEAD "#{ post.path }"`
|
||||
commit_num = `git rev-list --count HEAD "#{ post.path }"`.strip
|
||||
|
||||
if commit_num.to_i > 1
|
||||
lastmod_date = `git log -1 --pretty="%ad" --date=iso "#{ post.path }"`
|
||||
lastmod_date = `git log -1 --pretty="%ad" --date=iso "#{ post.path }"`.strip
|
||||
post.data['last_modified_at'] = lastmod_date
|
||||
end
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit a231bc7e2c67198e604950cb2be9147a0b2020c0
|
||||
Subproject commit b9e18a1510e3be5de250ed34205da318b76474e0
|
Loading…
x
Reference in New Issue
Block a user