Ignore emacs backup files

Hi, as an Emacs user, I generate a lot of back files in amongst my content, so I’m constantly see annoying warning messages like this in my zola serve console:

Expected a section filename, got `_index.md~`. Allowed values: `["_index.md"]`

Is there any way to tell zola to ignore these files?

We should really restrict the glob of loading content to .md files, that should solve that issue.

That would be great, thank you!

Weird, there’s already a check for that. Is it actually a folder that emacs is creating and not a file?

No it’s just a normal file.

Ok I see where the issue is