eudicots / Cactus

Static site generator for designers. Uses Python and Django templates.
BSD 3-Clause "New" or "Revised" License
3.47k stars 313 forks source link

don't ignore hidden files in pages/ #146

Open rryan opened 9 years ago

rryan commented 9 years ago

I'd like to generate .htaccess files using templates.

Unfortunately this line: https://github.com/koenbok/Cactus/blob/master/cactus/utils/filesystem.py#L23 ignores all files that start with a period so I'm not able to.

Is this check guarding against anything in particular?

moomoohk commented 9 years ago

Does this this issue lend any help?

rryan commented 9 years ago

@moomoohk -- thanks but I don't think so. This issue describes whether or not cactus will treat a file in pages/ as a page to be compiled while as I understand the issue you linked -- cactus deletes the .build folder on every re-build so users can't maintain .build as a git repository.

moomoohk commented 9 years ago

Oh yes, I got the folders confused...

krallin commented 9 years ago

Hey @rryan

Just a quick note that I've been very busy with work as of late, but that I hope to take a look at this when I have more free time, most likely in a week or so. Sorry about the silence here.

Cheers,

rryan commented 9 years ago

@krallin -- no problem at all! For now I'm simply symlinking .htaccess to htaccess on my web host but it'd be nice if I could avoid that.