Implement respond_to_missing? in Document
This commit is contained in:
parent
158e02623a
commit
2183d9d6b4
|
@ -371,6 +371,10 @@ module Jekyll
|
|||
end
|
||||
end
|
||||
|
||||
def respond_to_missing?(method, *)
|
||||
data.key?(method.to_s) || super
|
||||
end
|
||||
|
||||
private
|
||||
def merge_categories!(other)
|
||||
if other.key?("categories") && !other["categories"].nil?
|
||||
|
|
Loading…
Reference in New Issue