diff options
Diffstat (limited to 'dev-haskell/hamlet/metadata.xml')
-rw-r--r-- | dev-haskell/hamlet/metadata.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-haskell/hamlet/metadata.xml b/dev-haskell/hamlet/metadata.xml new file mode 100644 index 000000000000..0b2d7cfcc1b0 --- /dev/null +++ b/dev-haskell/hamlet/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <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 <http://docs.yesodweb.com/book/hamlet/> 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 <http://www.yesodweb.com/book/templates> for a thorough description + + > !!! + > <html> + > <head> + > <title>Hamlet Demo + > <body> + > <h1>Information on John Doe + > <h2> + > $if isMarried person + > Married + > $else + > Not married + </longdescription> +</pkgmetadata> |