Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 306 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 306 Bytes

MustacheViewEngine

Mustache render engine for Slimane

Usage

import Slimane

let app = Slimane()

app.get("/") { req, responder in
  responder {
      let render = Render(engine: MustacheViewEngine(templateData: ["name": "Slimane"]), path: "index")
      Response(custom: render)
  }
}