Vibe.d Diet Template's Tutorial
Diet Templates overview
Diet templates are an implementation of Jade used for terse generic markup. They're some notable differences and bugs in its current implementation that we'll cover as we come across them. If you've used Razor files in ASP.Net these should feel quite similar. The main selling points of using Diet Templates are:
- Keeps things DRY
- Creates dynamic HTML
- Compiled to native code
Vibe does its best to exactly mirror Jade's. They're a few notable differences:
- Block, Extends, and Includes don't work quite right at the moment.