PhileCMS / Phile

A flat file CMS with a swappable parser and template engine.
https://philecms.github.io/
Other
257 stars 49 forks source link

fix issue with using spaces in meta #86

Closed james2doyle closed 10 years ago

james2doyle commented 10 years ago

Now they are converted to underscores.

So "Area Title:" would become {{ current_page.meta.area_title }}

james2doyle commented 10 years ago

@NeoBlack Im surprised this went undetected for so long. I havent used spaces in meta attributes until now.

NeoBlack commented 10 years ago

I've never had the idea to use spaces :D

NeoBlack commented 10 years ago

+1 this patch looks good for me

kursusHC commented 10 years ago

Maybe you should document that.

james2doyle commented 10 years ago

Yeah that is a good point