The webpage package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

Warnings:

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><link href
   rel=\"icon\"></head><body>some content<script
   src=\"jquery.js\"></script></body></html>"

Properties

Versions0.0.1, 0.0.2, 0.0.2, 0.0.3, 0.0.3.1, 0.0.4, 0.0.5
Change logNone available
Dependenciesbase (==4.*), blaze-html, data-default, hastache, lucid (>=2.5), text [details]
LicenseMIT
AuthorAthan Clark <athan.clark@gmail.com>
MaintainerAthan Clark <athan.clark@gmail.com>
Source repositoryhead: git clone https://github.com/athanclark/webpage.git
UploadedFri Dec 26 21:31:39 UTC 2014 by athanclark

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees