summaryrefslogtreecommitdiff
path: root/Utility/Yesod.hs
Commit message (Collapse)AuthorAge
* support building with yesod-default 1.1.0Gravatar Joey Hess2012-08-09
| | | | | | | | | Old 1.0.1 version is still supported as well. Cabal autodetects which version is available, but in the Makefile, WITH_OLD_YESOD has to be configured appropriately. I have not squashed all the $newline warnings with the new Yesod. They should go away eventually anyway as Yesod moves past that transition.
* use widgetFileGravatar Joey Hess2012-07-26
|
* webapp now does long pollingGravatar Joey Hess2012-07-26
| | | | | | | | The webapp is now a constantly updating clock! I accomplished this amazing feat using "long polling", with some jquery and a little custom java script. There are more modern techniques, but this one works everywhere.
* added a custom defaultLayout, static site, and faviconGravatar Joey Hess2012-07-26
Broke hamlet out into standalone files. I don't like the favicon display; it should be served from /favicon.ico, but I could only get the static site to serve /static/favicon.ico, so I had to use a <link rel=icon> to pull it in. I looked at Yesod.Default.Handlers.getFaviconR, but it doesn't seem to embed the favicon into the binary?