audreyfeldroy / complexity

A refreshingly simple static site generator, for those who like to work in HTML.
Other
118 stars 32 forks source link

Support for robots.txt and friends #21

Closed friedcell closed 11 years ago

friedcell commented 11 years ago

There is currently no way to move static files into the root of the output - this is needed for robots.txt and other similar files.

Possible solutions are to also copy files from assets, not just directories or to allow a special folder (similar to the less/scss exceptions) that would indicate that the files will end up in root. The first solution seems more intuitive.

audreyfeldroy commented 11 years ago

This is great feedback. Thanks for filing this!

Is there anything besides robots.txt and various sitemap files that needs to be covered here?

friedcell commented 11 years ago

Looking at my projects I'd say there are a few more that I use more/less often: favicon.ico, humans.txt, various domain confirmation files (google, pinterest), crossdomain.xml

audreyfeldroy commented 11 years ago

Okay, thanks a lot. I'll see what I can do after work (or when I get a spare moment during work ;)

audreyfeldroy commented 11 years ago

As of that commit, all static files in the root of assets/ now get copied over. I'll release Complexity 0.5 on PyPI in a moment which will include this fix.