Include files with a url which ends in / in the site.html_pages list
https://github.com/jekyll/jekyll-sitemap/issues/27
This commit is contained in:
parent
df33ff7462
commit
a78b5c2f8d
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue