Merge pull request #2524 from jekyll/all-html-files

This commit is contained in:
Parker Moore 2014-06-23 18:59:57 -04:00
commit b0e51e2cba
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ module Jekyll
"posts" => posts.sort { |a, b| b <=> a }, "posts" => posts.sort { |a, b| b <=> a },
"pages" => pages, "pages" => pages,
"static_files" => static_files.sort { |a, b| a.relative_path <=> b.relative_path }, "static_files" => static_files.sort { |a, b| a.relative_path <=> b.relative_path },
"html_pages" => pages.reject { |page| !page.html? }, "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,