Closed dmalan closed 4 years ago
Per https://github.com/jekyll/jekyll-redirect-from/issues/189, it's not always desirable to generate redirects.json, particularly since it might leak information about routes that exist but that aren't actually (intended to be) linked publicly.
redirects.json
This PR proposes to add support for
redirect_from: json: false
modeled after https://github.com/benbalter/jekyll-optional-front-matter#configuration.
Changes made!
Thanks!
@jekyllbot: merge +minor
Per https://github.com/jekyll/jekyll-redirect-from/issues/189, it's not always desirable to generate
redirects.json
, particularly since it might leak information about routes that exist but that aren't actually (intended to be) linked publicly.This PR proposes to add support for
modeled after https://github.com/benbalter/jekyll-optional-front-matter#configuration.