sutty-archives 2.5.1 → 2.5.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: 413366df4f9c1af2ee08ab9917418ec8c7698584622beedada89b61bc6dc8caa
4
- data.tar.gz: bc6943836ab1aef4d5863521affaea867fdc8b51acc68e80e0a3ae5a183b0cda
3
+ metadata.gz: b8a095196aeb5056b025411ea4903f3f216c17ee98156f6510505b7b13c99d76
4
+ data.tar.gz: f0de3000044bece4ddc3304a340c4118dfdb72b049ee73fce0903167632e3eb8
5
5
  SHA512:
6
- metadata.gz: 75254b9af7f51d8871be7328b3b3ac7474b0f30525ae1c2d858819be7ef14b21b3b16789e95d8f27d4b72f33579d5ac65e46b0ef6516dd3a52b84b63088e06ee
7
- data.tar.gz: cf09bcc54730dd7a1c3f4daf74ce1e3366a28eaea0241f7034acc1b1b31a06a27ddb94a7a2bbd59260349dd726ebee51f67ff3e9c468a589824de71c1702150c
6
+ metadata.gz: 64d92442969a17a69f35af7c89e7496eeb8ff57ea7bf89cd8c8f8225eaeaa62157cbbd78e339cbfa4d87c01dcdf933b2c29ae1bde1b22352891a4d1ff322767d
7
+ data.tar.gz: 0ca2b534faeb9e035fd7fe95d488e4532732a9c83d4cc5f98ad8b1902ee6f0e2655275dc409e3deff3aea7823f0eede938f24e432a00e57d36b2381cb9b08eca
@@ -170,8 +170,9 @@ module Jekyll
170
170
 
171
171
  private
172
172
 
173
+ # Layout is a special attribute that can't be replaced
173
174
  def replace?
174
- @config['replace'] && !@type.is_a?(Hash)
175
+ @config['replace'] && !@type.is_a?(Hash) && attribute != 'layout'
175
176
  end
176
177
 
177
178
  def attribute
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Archives
5
- VERSION = "2.5.1"
5
+ VERSION = "2.5.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sutty-archives
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alfred Xing
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-10-26 00:00:00.000000000 Z
12
+ date: 2020-12-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll