Patrick Lewis wrote:
I think you need to have a py:match statement in the index.kid file,
something like the following (untested):


thanks!

for some reason, i am not getting this..

i have adjusted my index.kid so the header looks like the bottom of this .. but i am still having no luck..

i also restarted cherrypy to make sure that wasn't the problem..

i am still trying to get wrapped around py:match and what exactly it's doing.. it seems the further along i get and the more i read the doco, the more it makes sense..

but i am still struggling a little..



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> <html xmlns="http://www.w3.org/1999/xhtml"; xmlns:py="http://purl.org/kid/ns#";
    py:extends="'master.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[:]"/>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
</head>



--
___
sergio t. ruiz
red red design
419.207.3927
www.redreddesign.com

Reply via email to