You're correct about the py:match. (And the 0.9 master.kid already
includes this match...)
I'd also recommend using std.url("/static/css/styles.css") as a matter
of course. It's not critical at all, but it will make the application
deployable under different paths of a webserver, and possibly
alongside other apps.
Kevin
On 12/28/05, Patrick Lewis <[EMAIL PROTECTED]> wrote:
>
> I think you need to have a py:match statement in the index.kid file,
> something like the following (untested):
>
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:py="http://purl.org/kid/ns#" py:extends="'LOmaster.kid'">
> <head py:match="item.tag=='{http://www.w3.org/1999/xhtml}head' ">
> <link rel="stylesheet" href="./static/css/styles.css"
> type="text/css" />
> <div py:replace="item[:]"/>
> </head>
> ...
>
> Your css href may need adjusting, too. It may need to point to
> "/static/css/styles.css" instead of the relative location.
>
>
--
Kevin Dangoor
Author of the Zesty News RSS newsreader
email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com