winton / stasis

Static sites made powerful
http://stasis.me
MIT License
679 stars 56 forks source link

Stasis fails on mixed content & layout file formats? #36

Closed ghost closed 12 years ago

ghost commented 12 years ago

I'm no Ruby programmer, so I'm unsure about this one... Basically this should be posted to an email list / forum, but Stasis doesn't have this.

It seems to me that Stasis is unable to handle mixed (but Tilt supported) file formats? For example:

index.textile  (the main text to go on the page, in Textile format for easy editing.)
layout.erb  (the layout file with the surrounding HTML, in ERB format.)

Am I correct that this currently doesn't work? My observation, on Windows 7 64-bit, is that a file is created but the layout isn't there, only a raw copy of the page content file (i.e. index.textile).

Is that going to change? To me, this is a deal-breaker. My content editors are non-technical people, and I need to provide them with a Textile / Markdown / easily human-editable format for content.

betelgeuse commented 12 years ago

I also expected this to work. At the very least the restriction needs to be documented in the documentation.

winton commented 12 years ago

Thanks guys, fix should be in latest gem release.

ghost commented 12 years ago

I can confirm that this is now working great on my end. Latest Stasis 0.1.16 on Windows 7 64-bit, Ruby 1.9.3. Brilliant, thank you very much!