Version 0.0.3-0 of webpage is deprecated.
The latest version of webpage is 0.0.5.1-0.
webpage
Version 0.0.3 revision 0 uploaded by athanclark.
Package meta
- Synopsis
- Organized and simple web page scaffold for blaze and lucid
- Description
This is a general organization scheme for web pages, implemented for Lucid, and adapted for Blaze-html.
It's as easy as 1-2-3:
import Web.Page.Lucid λ> renderText $ template def "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> </head><body>some content<script src=\"jquery.js\"></script></body></html>"
- Author
- Athan Clark <athan.clark@gmail.com>
- Bug reports
- n/a
- Category
- n/a
- Copyright
- n/a
- Homepage
- n/a
- Maintainer
- Athan Clark <athan.clark@gmail.com>
- Package URL
- n/a
- Stability
- n/a