gma / nesta

File Based CMS and Static Site Generator
http://nestacms.com
MIT License
902 stars 121 forks source link

Adds support for erb pages #95

Closed ms closed 10 years ago

ms commented 12 years ago

Closes #88.

gma commented 12 years ago

This needs tests. Have a look at line 508 in models_spec.rb.

gma commented 12 years ago

I'm thinking that I might take this patch and put it in a plugin. Doing so will probably lead to refactoring the way formats are handled, but that would be a good thing. It would mean that files could be written in any format that people wanted to write a parser class for. Parsers could be loaded via plugins.

gma commented 10 years ago

I'm closing this so I can see the woods for the trees; should anybody feel motivated to a plugin to allow erb in content/pages we can always re-open, or just reference it from elsewhere on GitHub.