mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge 318056c448 into c2b2def1c8
This commit is contained in:
commit
9a2fc00e5b
1 changed files with 2 additions and 0 deletions
|
|
@ -109,6 +109,8 @@ class Generator(object):
|
|||
ignores = self.settings['IGNORE_FILES']
|
||||
if any(fnmatch.fnmatch(basename, ignore) for ignore in ignores):
|
||||
return False
|
||||
if any(fnmatch.fnmatch(path, ignore) for ignore in ignores):
|
||||
return False
|
||||
|
||||
ext = os.path.splitext(basename)[1][1:]
|
||||
if extensions is False or ext in extensions:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue