Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Extra feature: ignore subdirectories #63
I've added support to ignore a directory (including subdirectories) in a fork (https://github.com/Timmmy/sigal/tree/Testbranch2). (Code needs some cleanup though)
When a file with the name '.sigalignore' is detected in a directory, it will ignore this directory and all subdirectories. I use this because we store all our pictures in one filetree, but we don't want all the pictures in the album.
Are you interested in including this feature in your repo?
Sorry for the late response...
That would probably be a better solution for most users. However, in my case, it would be difficult to maintain such a list since there is no general pattern in which directories to ignore.
If you put code in the settings file, is it executed when the settings are loaded?
What do you think?