nanoc / features

Collection of feature requests
2 stars 1 forks source link

Exclude paths from relativize_paths filter #41

Closed denisdefreyne closed 6 years ago

denisdefreyne commented 6 years ago

Some paths are not meant to be relativized. For example, anything under /cgi-bin/ should probably remain there, without a relative path.

Add an option to exclude paths from relativize_paths. For example:

  filter :relativize_paths, type: :html, exclude: %r{\A/cgi-bin/}
denisdefreyne commented 6 years ago

A work-in-progress implementation lives at nanoc/nanoc/pull/1340.

denisdefreyne commented 6 years ago

This will be released in 4.9.3.