Hi all.
I’m putting together a site with Radiant (love the ease of use and
flexibility – thanks to everyone involved in the project). From what
I’ve read in the mailing list archives, I should be able to use radius
tags in my stylesheet, just like other pages, to dynamically
create/change the content.
For example, if I wanted the background color of the “about” page to
be different than the other pages, something like this should work:
body {
background-color: #d7dba9;
<r:if_url matches="/about/">background-color: #009a3b;</r:if_url>
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 80%;
etc…
}
but it doesn’t.
My stylesheet is a Radiant page, just like the style.css created with
the type 3 (styled blog) install of Radiant. When I view the generated
css file in my browser, a blank line appears in place of the line with
the tags:
body {
background-color: #d7dba9;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 80%;
etc...
}
Any ideas? Have I missed something obvious? Thanks for any help.
PS. This is a trivial example. I could get the different colored
background easily with