Hello all, I'm sorry if this has been answered already / elsewhere, but
I (and by "I", I mean "my google powers") couldn't find it, so I
thought I'd ask.

In my master.kid seciton I've got a few things like Javascript and CSS
includes in the <head> section, like so:

<!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#";>

<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type"
/>
    <script type="text/javascript"><![CDATA[
        function blah(){
           ...
        }
]]></script>
    <style type="text/css" media="all">
      @import url("/styles/screen.css");
    </style>
    <title>Your title goes here</title>
</head>

...

which all gets stripped out in the final document, to be replaced by
the repeated-content-type-meta string, title, and nothing more.

I had a look at the kid layout recipe, but would prefer to steer clear
of such a solution, and use matches rather than class extensions to
make life easier on my designers and content folk. Even from the look
of that example, (though I didn't test it), it seems that the header
gets equally munged when using that route as well.

Any suggestions?

Reply via email to