tyler-sommer / stick

A golang port of the Twig templating engine
MIT License
183 stars 36 forks source link

Revel question #21

Closed error56 closed 5 years ago

error56 commented 5 years ago

Hi, is stick support Revel templates? Can I adapt stick into Revel without risk? Thanks

tyler-sommer commented 5 years ago

Hi @error56 , thanks for opening this!

Looking at the Revel docs on using a custom template engine (here: https://revel.github.io/manual/template-engine.html), it seems reasonable enough and stick should have no problem, excepting some adapter code to make stick implement the proper interfaces.

I don't use Revel myself, so the adapter code is up to you :) Let me know how it goes!