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
- Host: GitHub
- URL: https://github.com/samsheff/Bunny
- Owner: samsheff
- Created: 2014-09-23T06:34:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-02T15:37:31.000Z (about 9 years ago)
- Last Synced: 2024-01-31T09:58:53.359Z (5 months ago)
- Language: Crystal
- Size: 195 KB
- Stars: 10
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-crystal - Bunny - A simple HTML templating language for Crystal, same syntax as erb (Template Engine)
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.