Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/samsheff/Bunny

A simple HTML templating language for Crystal, same syntax as erb
https://github.com/samsheff/Bunny

Last synced: 2 months ago
JSON representation

A simple HTML templating language for Crystal, same syntax as erb

Lists

README

        

Bunny
=====

A simple HTML templating language for Crystal

Important! Crystal has this built in, look here for more info: https://github.com/manastech/crystal/blob/master/CHANGELOG.md#020-2014-06-24

It uses the same syntax as ERB in ruby, cannot execute code in the view (yet).
All variables must be in the locals hash and the value of the key replaces the code in the view.

See the example project in ./example for more information.