Cabal revisions of webpage-0.0.3.1
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-Name: webpage-Version: 0.0.3.1-Author: Athan Clark <athan.clark@gmail.com>-Maintainer: Athan Clark <athan.clark@gmail.com>-License: MIT-License-File: LICENSE-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>"- .-Cabal-Version: >= 1.10-Build-Type: Simple--Library- Default-Language: Haskell2010- HS-Source-Dirs: src- GHC-Options: -Wall- Exposed-Modules: Web.Page.Types- Web.Page.Lucid- Web.Page.Blaze- Web.Page.Hastache- Build-Depends: base >= 4 && < 5- , lucid >= 2.5- , blaze-html- , hastache- , text- , data-default- -- , lens--Source-Repository head- Type: git- Location: https://github.com/athanclark/webpage.git+Name: webpage +Version: 0.0.3.1 +x-revision: 1 +Author: Athan Clark <athan.clark@gmail.com> +Maintainer: Athan Clark <athan.clark@gmail.com> +License: MIT +License-File: LICENSE +Category: Web +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>" + . +Cabal-Version: >= 1.10 +Build-Type: Simple + +Library + Default-Language: Haskell2010 + HS-Source-Dirs: src + GHC-Options: -Wall + Exposed-Modules: Web.Page.Types + Web.Page.Lucid + Web.Page.Blaze + Web.Page.Hastache + Build-Depends: base >= 4 && < 5 + , lucid >= 2.5 + , blaze-html + , hastache + , text + , data-default + -- , lens + +Source-Repository head + Type: git + Location: https://github.com/athanclark/webpage.git