jekyll-datapage-generator 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-datapage-generator.rb +11 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3480681cfd1c5cc3aa7fd93ad8fba21ed3da3ec60f18a317e468a405275acb28
|
4
|
+
data.tar.gz: 6f09fced6877377d98bb9955adfce02d569c7cd74d344ef3d7287faafef975cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da7627b4a7af988d51f3068110df14546fd09e9c936707686e1ff88ff5755f3ea2059cc7892ebf5b6ffe278f92fb0e0fcff69eb1081b35e3bfea1b776cbcca9b
|
7
|
+
data.tar.gz: 5c09dc020b178fb75fc1eca26e51130e9f0069fc17fdac3d27bd4b9cdc3dc1872a89ec866e9f0e3283059f313da1d732c5dbd9e2d54fdb1b3ef17590afc4bd32
|
@@ -94,7 +94,17 @@ module Jekyll
|
|
94
94
|
@name = (index_files ? "index" : filename) + "." + extension.to_s
|
95
95
|
|
96
96
|
self.process(@name)
|
97
|
-
|
97
|
+
|
98
|
+
if @site.layouts[template].path.end_with? 'html'
|
99
|
+
@path = @site.layouts[template].path.dup
|
100
|
+
else
|
101
|
+
@path = File.join(@site.layouts[template].path, @site.layouts[template].name)
|
102
|
+
end
|
103
|
+
|
104
|
+
base_path = @site.layouts[template].path
|
105
|
+
base_path.slice! @site.layouts[template].name
|
106
|
+
self.read_yaml(base_path, @site.layouts[template].name)
|
107
|
+
|
98
108
|
self.data['title'] = raw_title
|
99
109
|
|
100
110
|
# add all the information defined in _data for the current record to the
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-datapage-generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adolfo Villafiorita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -38,7 +38,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '0'
|
40
40
|
requirements: []
|
41
|
-
rubygems_version: 3.
|
41
|
+
rubygems_version: 3.0.3
|
42
42
|
signing_key:
|
43
43
|
specification_version: 4
|
44
44
|
summary: Generate one page per yaml record in Jekyll sites.
|