Merge pull request #1571 from mojombo/non-destructive-array-concat
Use + instead of Array#concat
This commit is contained in:
commit
c78c4159c0
|
@ -19,10 +19,10 @@ module Jekyll
|
||||||
]
|
]
|
||||||
|
|
||||||
# Attributes for Liquid templates
|
# Attributes for Liquid templates
|
||||||
ATTRIBUTES_FOR_LIQUID = EXCERPT_ATTRIBUTES_FOR_LIQUID.concat(%w[
|
ATTRIBUTES_FOR_LIQUID = EXCERPT_ATTRIBUTES_FOR_LIQUID + %w[
|
||||||
content
|
content
|
||||||
excerpt
|
excerpt
|
||||||
])
|
]
|
||||||
|
|
||||||
# Post name validator. Post filenames must be like:
|
# Post name validator. Post filenames must be like:
|
||||||
# 2008-11-05-my-awesome-post.textile
|
# 2008-11-05-my-awesome-post.textile
|
||||||
|
|
Loading…
Reference in New Issue