AlexCharlton / site-generator

A command-line static site generator written in Common Lisp
BSD 2-Clause "Simplified" License
43 stars 7 forks source link

Ignore pattern (feature request) #14

Open maufdez opened 6 years ago

maufdez commented 6 years ago

I am currently editing the content pages with Emacs, it would be nice if I can set something in the config to ignore the file~ produced by Emacs, specially when the test server is running.

ghost commented 6 years ago

https://github.com/AlexCharlton/site-generator/blob/18834db0b0fade45fe5ebb9a9fcda605c6472c19/src/site-generator.lisp#L143-L144

We could add support for .gitignore files. Or state a stricter format for content files. Or just edit that regex.

What do you think ?

ghost commented 6 years ago

Temporarily fixed https://github.com/AlexCharlton/site-generator/commit/056854b8ef3ca783b01bdecdb8dee8fb7b0ac143

maufdez commented 5 years ago

Thanks ghost, I have not checked this for a while, is the change already in the Master branch?