mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 09:48:30 -05:00
Posts and Drafts share the same logic to get the list of files to process into objects when generating the site. Factor this logic into its own method and use it when reading posts and reading drafts.