Yes, I saw it. I understand that I can write some like this:

$def with (app_url)

<link href=$app_url + "style.css" rel="stylesheet" type="text/css" />

On 1 Maj, 16:10, jinguoli <[email protected]> wrote:
> seehttp://webpy.org/cookbook/staticfiles
>
> 2010/5/1 Michał Powaga <[email protected]>
>
>
>
> > Hi!
>
> > How to serve files like css and images placed in template?
>
> > For example:
>
> > (...)
> > <link href="style.css" rel="stylesheet" type="text/css" />
> > (...)
> > <img src="my_image.jpg"></img>
>
> > //Sorry for my bad English
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "web.py" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected] <webpy%[email protected]>.
> > For more options, visit this group at
> >http://groups.google.com/group/webpy?hl=en.
>
> --
> jinguoli
> 我的世界,我的精彩http://jinguoli.me
>
> --
> You received this message because you are subscribed to the Google Groups 
> "web.py" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/webpy?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to