Merge pull request #1571 from mojombo/non-destructive-array-concat

Use + instead of Array#concat
This commit is contained in:
Parker Moore 2013-09-23 07:16:41 -07:00
commit c78c4159c0
1 changed files with 2 additions and 2 deletions

View File

@ -19,10 +19,10 @@ module Jekyll
]
# Attributes for Liquid templates
ATTRIBUTES_FOR_LIQUID = EXCERPT_ATTRIBUTES_FOR_LIQUID.concat(%w[
ATTRIBUTES_FOR_LIQUID = EXCERPT_ATTRIBUTES_FOR_LIQUID + %w[
content
excerpt
])
]
# Post name validator. Post filenames must be like:
# 2008-11-05-my-awesome-post.textile