Portability | unportable |
---|---|
Stability | unstable |
Maintainer | pbrisbin@gmail.com |
Safe Haskell | None |
Documentation
A link to a Destination
with supplied titles and text to be used
when showing the html.
Link | |
|
class YesodLinked m Source
A type family class used to generalize widgets printing routes that are internal to your site
instance YesodLinked MySite where type Linked = MySite
Any type can represent a link.
instance IsLink MyAppRoute where toLink RootR = Link (Internal RootR) "go home" "home" toLink AboutR = Link (Internal AboutR) "about this site" "about" ... getRootR :: Handler RepHtml getRootR = defaultLayout $ do [hamlet| be sure to visit our ^{link AboutR} page. |]