jekyll-archives-dir-category 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b303af89b367228b34b4aeafe0bd22ee44d09c07dbdf6cb987d461ed8fcca77
|
4
|
+
data.tar.gz: b9b4498c4d8bc456b540e95f1a9c75e5b89f52d367d693ba4dc42e8a0ff658a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68235cb9e5649cf5cbce1f8d6e63621e9ea0622992141b1f6037aa92b964d35a747cc6a6774e69dc6a248fc14d3623a5051dd41a3af66ba6ef0cd8f66e3f2de0
|
7
|
+
data.tar.gz: 9cb24a2c6adfe47dc1aa69b1028346a79c34638cfedc9074263beadfb66d928f0e7b605d69ec1622a8f06ad0fe2109bb5d17e00f9bbc560ae9860dd18f2beee4
|
@@ -92,7 +92,13 @@ module Jekyll
|
|
92
92
|
p.data["category"] = c
|
93
93
|
p.data["categories"] = [c]
|
94
94
|
p.data["category-name"] = cn
|
95
|
-
|
95
|
+
io = IO.popen('git log -1 --pretty="format:%cI" ' + p.path)
|
96
|
+
date_str = io.gets
|
97
|
+
# printf("post:%s\n", p.path)
|
98
|
+
# printf(" pwd :%s", `pwd`)
|
99
|
+
# printf(" date:%s\n\n", date_str)
|
100
|
+
p.data["update-time"] = date_str
|
101
|
+
# printf("Post date:%s\n", `git log -1 --pretty="format:%cI" $p`)
|
96
102
|
# printf(" category:%s\n", c)
|
97
103
|
# printf(" category name:%s\n\n", cn)
|
98
104
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-archives-dir-category
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alfred Xing
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|