Name : ghc-webpage
| |
Version : 0.0.5
| Vendor : openSUSE
|
Release : bp150.2.8
| Date : 2018-07-30 20:54:08
|
Group : Development/Libraries/Haskell
| Source RPM : ghc-webpage-0.0.5-bp150.2.8.src.rpm
|
Size : 0.16 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : 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.
> 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>\" .
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Backports:/SLE-15/standard/x86_64 |