On Thu, 31 Dec 2020 at 22:54, Mike Ray <[email protected]> wrote: > > Hello > > I often have both .gitignore and .gitkeep files dotted throughout my > pages and posts tree in my Nikola sites. > > At the moment I am working on a site where I have some .gitkeep files in > my listings tree. > > Nikola tries to render these files, and creates a .gitkeep.html file. > > How can I make Nikola ignore some files it finds?
There is currently no way to do this. Nikola has a few filenames it will ignore, but it’s not possible to extend this list. I would recommend not storing those files in your listings folder — you can use global .gitignore/.gitkeep files for the whole site. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7%2B8t_RQbUoRJh41kk%2BNVu-nqnsonoRXZV2RbprHBdqrQg%40mail.gmail.com.
