sutty-archives 2.4.0 → 2.4.1
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 +4 -4
- data/lib/jekyll-archives.rb +3 -2
- data/lib/jekyll-archives/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d8ab803634bfa88c376d923c7a899074bbc92ae78bb61864e7ebc0defebbbf2
|
4
|
+
data.tar.gz: 7c582de4ff9d9178c45590829d62ed2134785b26724442d2edeb51e7e5441f3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84275c56a027c307d3bcb8367e92ad8dabde13da114250d7f9dda90d5c62c1de3bec5da8a1da86e8555f1f61f58a6d6beffe179f0f62df444c86a86da04de79f
|
7
|
+
data.tar.gz: e17da6c402e748a19083be9a0e38081897a037932b3b9c4aa8e985d801be0c8f0c0a124d5ccc217c1fbecaf18ed468ee6b06eacd366b822e09e5555b0fb9aa26
|
data/lib/jekyll-archives.rb
CHANGED
@@ -82,7 +82,8 @@ module Jekyll
|
|
82
82
|
next unless group?
|
83
83
|
|
84
84
|
@site.config['archives'] ||= {}
|
85
|
-
@site.config['archives'][attr]
|
85
|
+
@site.config['archives'][attr] ||= []
|
86
|
+
@site.config['archives'][attr] << @archives.last
|
86
87
|
end
|
87
88
|
end
|
88
89
|
end
|
@@ -129,7 +130,7 @@ module Jekyll
|
|
129
130
|
@config['enabled'].each do |type|
|
130
131
|
type = LEGACY_ATTRS[type] if LEGACY_ATTRS[type]
|
131
132
|
|
132
|
-
@archives << Archive.new(@site, type, '
|
133
|
+
@archives << Archive.new(@site, type, 'group', @site.config['archives'][type].map(&:posts).flatten.uniq)
|
133
134
|
end
|
134
135
|
end
|
135
136
|
|