PhileCMS / Phile

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

Jade for templating #96

Closed Spica2 closed 10 years ago

Spica2 commented 10 years ago

Would this be realistic or do you see any drawbacks? Is this planned? Or any hints how to?

james2doyle commented 10 years ago

You could wrap the jade template engine in a plugin.

The template engine is swappable. You can look at the core twig plugin. You can also check out this lex plugin or this smarty one

james2doyle commented 10 years ago

Does this solution suffice?

Spica2 commented 10 years ago

Didnt have a chance to test it yet. On the first look it seemed more complex than I thought. But will check it as soon as I can.