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: b9cb82ffc53b7c2d6688fe7d1839b4eb7512d491e5cf481fbc796296d0f92215
4
- data.tar.gz: d33d994940b4d5cd8e2576033290c916b5d0f5432b4af5196d7964a6126f1fc8
3
+ metadata.gz: 160b13aaffef8f0ef59cb54c5ffa0dbd8e899ade5f897edc2d16e38a9c001427
4
+ data.tar.gz: 6c9c61660e6118b034718925e72b102a8b85758abf7a0a2b181780ac518f1a36
5
5
  SHA512:
6
- metadata.gz: 6dc866ee5fc6739fbac4230ce6f2dc71ee4249df63581720627723ef350e968bf867673605dd7c99067827d2438cc92659fd214b60d8c5d4805319d878883706
7
- data.tar.gz: 7386a360a27c535d4743a138cb03fa1fe8849927511f05f8f12f0b76b4f3a28807935ecc7d3ea0614ae525d40f434f5964779b07888477535d5fd64c9fdf0a8c
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.
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AutoAuthors
3
- VERSION = "1.0.5"
3
+ VERSION = "1.0.6"
4
4
  end
5
5
  end
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.5
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-04-06 00:00:00.000000000 Z
11
+ date: 2025-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll