Packages

Handles is a templating language written in pure Gleam. Heavily inspired by Mustache and Handlebars.js

Current section

Files

Jump to
handles src handles ctx.gleam
Raw

src/handles/ctx.gleam

pub type Prop {
Prop(key: String, value: Value)
}
pub type Value {
Str(value: String)
Int(value: Int)
Float(value: Float)
Bool(value: Bool)
Dict(value: List(Prop))
List(value: List(Value))
}