nquinlan / jekyll-pageless-redirects

Generates redirect pages based on YAML or htaccess style redirects.
MIT License
83 stars 14 forks source link

Files and directories get deleted #12

Closed haslinger closed 8 years ago

haslinger commented 8 years ago

I thought the plugin was not working for me at all. But when I was debugging the generator, I saw that all directories and files are generated, but deleted at the end.

Any ideas why that could happen?

haslinger commented 8 years ago

Meanwhile I found out, it's a method cleanup of current Jekyll, that deletes them ...

haslinger commented 8 years ago

Well, it's a hack, but I just disabled that Cleaner with an additional cleaner.rb

require "set"

module Jekyll
  class Cleaner
    def cleanup!
    end
  end
end