diff --git a/lib/jekyll/entry_filter.rb b/lib/jekyll/entry_filter.rb index 717d849e..8035877c 100644 --- a/lib/jekyll/entry_filter.rb +++ b/lib/jekyll/entry_filter.rb @@ -31,6 +31,9 @@ module Jekyll def filter(entries) entries.reject do |e| + # Reject this entry if it is just a "dot" representation. + # e.g.: '.', '..', '_movies/.', 'music/..', etc + next true if e.end_with?(".") # Reject this entry if it is a symlink. next true if symlink?(e) # Do not reject this entry if it is included.