On Mon, 15 Sep 2003, Dennis Daupert wrote: > > > I think lots of people are using stylesheets with html generated by TT. > > What exacly isn't working? Can you provide a short example template? > > > Clayton > > Hi Clayton, > > Basically, the stylesheet itself is just a plain vanilla stylesheet. It > works fine when I call it from a plain index.html page. Here's a bit of > code I've tried as a template: > > [% headers = BLOCK %] > <META name="description" content="Team Innovation Tools"> > <META name="REVISIT-AFTER" content="14 days"> > <META name="keywords" content="team, innovation, collaboration, CRM, > creativity, brainstorm"> > <link rel="stylesheet" href="style-sliqua.css" type="text/css" /> > [% END %] > > [% INCLUDE html/header > title = 'HDE Team Portal' > bgcol = '#ffffff' > %]
Your "link": tag should end up in your html if all of your META tags do. What does the resulting html look actually like? Your intentions and set up aren't very clear from your example. First you declare a block named "headers" with an _s_. Then you include "html/header" ( no _s_ ). Is this supposed to reference the first block? Are these fragments in the same file? Different files? I can't see that you are using the value of the headers block anywhere nor can I see what you want to do with the title and bgcol that you are passing to the template html/headers > The code is copied straight out of the tt documentation, with tweaks to > title, keywords, etc. > The only thing I added was the line that tries to call the stylesheet. > > I very much appreciate the offer of help. I suggest you proceed with the comments that are already on the list if they work for you. Clayton _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
