Package Info

ghc-webpage


Organized and simple web page scaffold for blaze and lucid


Development/Libraries/Haskell

This is a general organization scheme for web pages, implemented for Lucid, and adapted for Blaze-html.

> 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 = def title = "foo" > , bodyScripts = 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>" .


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/webpage

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.0.5-bp150.2.3 info GA Release 2018-08-01 15
  • AArch64
  • ghc-webpage
  • ghc-webpage-devel
0.0.5-bp150.2.5 info GA Release 2018-07-31 15
  • ppc64le
  • ghc-webpage
  • ghc-webpage-devel
0.0.5-bp150.2.8 info GA Release 2018-07-30 15
  • x86-64
  • ghc-webpage
  • ghc-webpage-devel