Compare commits

...

3 Commits

Author SHA1 Message Date
r3dg33k
c07609cce0
Merge 0b5185aaea57c2c1e743874db8606a819bdce19a into 59ad287fb0144fd9a3e1b46826a18fdce42646d1 2024-11-28 19:10:57 +08:00
GitHub Actions
59ad287fb0 Update critical file(s) according to Chirpy v7.2.0
Some checks failed
Build and Deploy / build (push) Failing after 1m3s
Build and Deploy / deploy (push) Has been skipped
2024-11-28 09:00:29 +00:00
r3dg33k
0b5185aaea
added strip for security 2024-08-02 06:58:38 +03:00
4 changed files with 6 additions and 6 deletions

2
.gitignore vendored
View File

@ -23,5 +23,5 @@ package-lock.json
!.vscode/tasks.json
# Misc
_sass/dist
_sass/vendors
assets/js/dist

View File

@ -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]

View File

@ -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