generic-lucid-scaffold: General-purpose web page scaffold for Lucid.
Deprecated
in favor of webpage
This is a general organization scheme for web pages, implemented for Lucid.
It's as easy as 1-2-3:
λ> renderText $ template mempty "some content" ↪ "<!DOCTYPE HTML><html><head><title></title><link href rel="icon"></head><body>some content</body></html>"
overload the particular areas with record syntax and stuff:
λ> let page = WebPage "foo" mempty mempty mempty mempty mempty mempty (script_ [src_ "jquery.js"] "") λ> template page "some content" ↪ "<!DOCTYPE HTML><html><head><title>foo</title><link href rel=\"icon\"></head><body>some content<script src=\"jquery.js\"></script></body></html>"
Downloads
- generic-lucid-scaffold-0.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.0.1 |
---|---|
Dependencies | base (>=4 && <5), lucid (>=2.5), text [details] |
License | MIT |
Author | Athan Clark <athan.clark@gmail.com> |
Maintainer | Athan Clark <athan.clark@gmail.com> |
Source repo | head: git clone https://github.com/athanclark/generic-lucid-scaffold.git |
Uploaded | by athanclark at 2014-12-09T22:25:55Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 1122 total (1 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |