diff --git a/yesod/scaffold/templates/homepage.hamlet.cg b/yesod/scaffold/templates/homepage.hamlet.cg index 950f4f13..5e18a0c7 100644 --- a/yesod/scaffold/templates/homepage.hamlet.cg +++ b/yesod/scaffold/templates/homepage.hamlet.cg @@ -2,29 +2,29 @@
  1. Now that you have a working project you should use the # - Yesod book to learn more. + Yesod book to learn more. # You can also use this scaffolded site to explore some basic concepts. -
  2. This page was generated by the #{handlerName} handler in +
  3. This page was generated by the #{handlerName} handler in # Handler/Root.hs. -
  4. The #{handlerName} handler is set to generate your site's home screen in Routes file +
  5. The #{handlerName} handler is set to generate your site's home screen in Routes file # config/routes -
  6. The HTML you are seeing now is actually composed by a number of widgets, - most of them are brought together by the defaultLayout function which - is defined in the Foundation.hs module, and used by #{handlerName}. +
  7. The HTML you are seeing now is actually composed by a number of widgets, # + most of them are brought together by the defaultLayout function which # + is defined in the Foundation.hs module, and used by #{handlerName}. # All the files for templates and wigdets are in templates.
  8. - A Widget's Html, Css and Javascript are separated in three files with the + A Widget's Html, Css and Javascript are separated in three files with the # .hamlet, .lucius and .julius extensions.
  9. If you had javascript enabled then you wouldn't be seeing this.
  10. - This is an example trivial Form. Read the - Forms chapter + This is an example trivial Form. Read the # + Forms chapter # on the yesod book to learn more about them. $maybe (info,con) <- submission
    @@ -33,6 +33,6 @@ ^{formWidget} -
  11. And last but not least, Testing. In tests/main.hs you will find a - test suite that performs tests on this page. +
  12. And last but not least, Testing. In tests/main.hs you will find a # + test suite that performs tests on this page. # You can run your tests by doing:
    cabal install --enable-tests && cabal test