Update hamlet docs

This commit is contained in:
Jasper Van der Jeugt 2011-11-28 09:23:48 +01:00
parent 973f77cc68
commit 9ba8e1b07b

View file

@ -39,7 +39,25 @@
-- --
-- In addition to the native format, Hakyll also supports hamlet templates. For -- In addition to the native format, Hakyll also supports hamlet templates. For
-- more information on hamlet templates, please refer to: -- more information on hamlet templates, please refer to:
-- <http://hackage.haskell.org/package/hamlet>. -- <http://hackage.haskell.org/package/hamlet>. Internally, hamlet templates are
-- converted to hakyll templates -- which means that you can only use variable
-- insertion (and not all hamlet's features).
--
-- This is an example of a valid hamlet template. You should place them in
-- files with a @.hamlet@ extension:
--
-- > !!!
-- > <html>
-- > <head>
-- > <meta charset="UTF-8">
-- > <title> MyAweSomeCompany - #{title}
-- > <body>
-- > <h1> MyAweSomeCompany - #{title}
-- > <div id="navigation">
-- > <a href="/index.html"> Home
-- > <a href="/about.html"> About
-- > <a href="/code.html"> Code
-- > #{body}
-- --
module Hakyll.Web.Template module Hakyll.Web.Template
( Template ( Template