flamethrower: A template engine for HTML
Flamethrower is a simpler indentation-based template language for HTML.
It’s intended to be a port of Razor Leaf, but it has quite a ways to go before reaching that status.
(-# LANGUAGE QuasiQuotes #-) -- Parentheses here should be curly braces import Flamethrower render name = [flamethrower| p id: "greeting" "Hello, " em "#(name)" # Parentheses here should be curly braces "!" |] main = putStrLn (render "world") -- <p id="greeting">Hello, <em>world</em>!</p>
Downloads
- flamethrower-0.0.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.0.1.0, 0.0.1.1, 0.0.1.2, 0.0.1.3, 0.0.2.0, 0.0.2.1, 0.0.3.0, 0.0.3.1, 0.0.4.0, 0.0.4.1, 0.0.5.0, 0.0.5.1 |
---|---|
Dependencies | base (>=4.6 && <4.7), haskell-src-meta (>=0.6 && <0.7), template-haskell (>=2.8 && <2.9) [details] |
License | MIT |
Author | Charmander |
Maintainer | campersander@gmail.com |
Category | Text |
Home page | https://charmander.me/flamethrower/ |
Source repo | head: git clone https://github.com/charmander/flamethrower |
Uploaded | by charmander at 2014-01-12T17:29:41Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 8790 total (14 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Successful builds reported [all 1 reports] |