mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Remove unnecessary self.tags.flatten! in favour of a one-line sol'n.
This commit is contained in:
@@ -67,8 +67,7 @@ module Jekyll
|
||||
end
|
||||
|
||||
def populate_tags
|
||||
self.tags = self.data.pluralized_array("tag", "tags")
|
||||
self.tags.flatten!
|
||||
self.tags = self.data.pluralized_array("tag", "tags").flatten
|
||||
end
|
||||
|
||||
# Get the full path to the directory containing the post files
|
||||
|
||||
Reference in New Issue
Block a user