fix collections output, see #2346
This commit is contained in:
parent
eab92d3b96
commit
8546298047
|
@ -251,7 +251,7 @@ module Jekyll
|
||||||
"html_pages" => pages.select { |page| page.html? || page.url.end_with?("/") },
|
"html_pages" => pages.select { |page| page.html? || page.url.end_with?("/") },
|
||||||
"categories" => post_attr_hash('categories'),
|
"categories" => post_attr_hash('categories'),
|
||||||
"tags" => post_attr_hash('tags'),
|
"tags" => post_attr_hash('tags'),
|
||||||
"collections" => collections,
|
"collections" => collections.values.map(&:to_liquid),
|
||||||
"documents" => documents,
|
"documents" => documents,
|
||||||
"data" => site_data
|
"data" => site_data
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Reference in New Issue