Sinatra support for Thymeleaf templates

Categories Development, Open Source

I just love the way that Thymeleaf templates help you prototype and work on user interfaces. I also use Sinatra for small-to-medium size web apps.

That being said, I was annoyed that I was stuck with ERB templates for my Sinatra projects so I went ahead and created an adaptor for Sinatra that uses Thymeleaf.rb to render Thymeleaf templates.

Here it is:

You’re welcome!

Leave a Reply

Your email address will not be published. Required fields are marked *