lib/jekyll/static_file.rb in jekyll-octopod-0.7.2 vs lib/jekyll/static_file.rb in jekyll-octopod-0.7.3

- old
+ new

@@ -1,16 +1,13 @@ module Jekyll class StaticFile def octopod_exclude src = path.sub("#{@base}/", '') - nested_files = %w[img/bigplay.psd readme.txt - screenshot-1.png screenshot-2.png settings.php standalone.html - libs/mediaelement/README.md] - exclude_dirs = %w[] + nested_files = %w[] - excludes = %w[ChangeLog Gemfile Gemfile.lock README.md octopod] - return true if excludes.include?(src) || exclude_dirs.include?(File.dirname(src)) + excludes = %w[Gemfile Gemfile.lock README.md octopod] + return true if excludes.include?(src)) end alias_method :_octopod_original_write, :write def write(dest) \ No newline at end of file