summaryrefslogtreecommitdiff
path: root/dev-haskell/hamlet/metadata.xml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/hamlet/metadata.xml')
-rw-r--r--dev-haskell/hamlet/metadata.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-haskell/hamlet/metadata.xml b/dev-haskell/hamlet/metadata.xml
new file mode 100644
index 000000000000..c842c33be2f7
--- /dev/null
+++ b/dev-haskell/hamlet/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ Hamlet gives you a type-safe tool for generating HTML code. It works via Quasi-Quoting, and generating extremely efficient output code. The syntax is white-space sensitive, and it helps you avoid cross-site scripting issues and 404 errors. Please see the documentation at &lt;http://docs.yesodweb.com/book/hamlet/&gt; for more details.
+
+ Here is a quick overview of hamlet html. Due to haddock escaping issues, we can't properly show variable insertion, but we are still going to show some conditionals. Please see &lt;http://www.yesodweb.com/book/templates&gt; for a thorough description
+
+ &gt; !!!
+ &gt; &lt;html&gt;
+ &gt; &lt;head&gt;
+ &gt; &lt;title&gt;Hamlet Demo
+ &gt; &lt;body&gt;
+ &gt; &lt;h1&gt;Information on John Doe
+ &gt; &lt;h2&gt;
+ &gt; $if isMarried person
+ &gt; Married
+ &gt; $else
+ &gt; Not married
+ </longdescription>
+</pkgmetadata>