jekyll-auto-authors 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 160b13aaffef8f0ef59cb54c5ffa0dbd8e899ade5f897edc2d16e38a9c001427
|
4
|
+
data.tar.gz: 6c9c61660e6118b034718925e72b102a8b85758abf7a0a2b181780ac518f1a36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a18a16723334f024a91e9172e4055add05b5275b6c33bd01ac55d8fcb2d01bd98e130fdc7b6a78ab0ecede1e3e2edfbb7db85d541519ab68d408262d687eb60
|
7
|
+
data.tar.gz: 4f96213af479ca115b84a0cfc51dfd4b5bcc2854f292ab3ebbe5de3f6f565c17d8f75f155d56352810bf2cc5e92f2acaa21e3b08d1bc52b285bcbbad91ae6ea7
|
@@ -16,7 +16,7 @@ module Jekyll
|
|
16
16
|
|
17
17
|
# if the data file containing authors info is not nil, transfer current author's data
|
18
18
|
# to the paginator object so that it can be used in the pagination template
|
19
|
-
author_data = YAML::load(File.read(autopage_config["data"])) || {}
|
19
|
+
author_data = YAML::load(File.read(File.join(site.source, autopage_config["data"]))) || {}
|
20
20
|
|
21
21
|
if author_data.key?(author_name)
|
22
22
|
in_config["author_data"] = author_data[author_name]
|
@@ -65,7 +65,7 @@ module Jekyll
|
|
65
65
|
if !authors_config["data"].nil?
|
66
66
|
# if a data file containing authors is not nil, then iterate through the specified
|
67
67
|
# authors to build author pages for them, even if they don't have posts yet.
|
68
|
-
author_data = YAML::load(File.read(authors_config["data"])) || {}
|
68
|
+
author_data = YAML::load(File.read(File.join(site.source, authors_config["data"]))) || {}
|
69
69
|
|
70
70
|
author_data.each do | author, data |
|
71
71
|
# The exclude attribute ignores authors from autopage generation unless they have a post assigned.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-auto-authors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gourav Khunger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|