Understanding LAX Template Engine
LAX is the template engine powering LUAX. It's simple and powerful.
Basic Layout
@layout(default)
< main >
< h1>@title< /h1>
< p>@content< /p>
< /main>
## Loops
@for posts
< h2>@title< /h2>
< p>@excerpt< /p>
@end
## Conditions
@if author
< p>By @author< /p>
@end
## Partials
@include(header)
@include(footer)
LAX uses simple syntax. Just like HTML with extra features.