[web-devel] Including a static css file

Anakreon Mentis anakreonmejdi at gmail.com
Sun Jul 17 21:46:28 CEST 2011


I am experimenting with yesod and am new to it.
I changed the default-layout.hamlet file of a project created by yesod init.
The modification consists of the following line
        <link rel="stylesheet" type="text/css" href="@{StaticR css/base.css}">

I get an error message
" (line 4, column 48):
unexpected 'h'
expecting end of input, "\n", "\r\n" or ">"

The file static/css/base.css does exist.



More information about the web-devel mailing list