Re: Hiding content from meta tags
Matt Raible <[email protected]> Sat, 27 Aug 2005 12:12:43 -0600
| Newsgroups | gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user |
|---|---|
| Message-ID | <[email protected]> |
On 8/27/05, Scott Farquhar <[email protected]> wrote: > Matt, > > On Fri, Aug 26, 2005 at 08:08:51AM -0600, Matt Raible wrote: > > This all works great, except that the <meta> tags, in their original > > form, show up in the final decorated page. There's no harm in leaving > > them in, but I'd prefer to strip them out. > > > > Is it possible to strip out the meta tags by adding some attribute to > > the tag? Or is there a better way to pass variables from my pages to > > the decorator? > > I'm assuming that you are using <decorator:head /> ? Yes. > > There is also <decorator:title /> if you are just interested in the title > (note that style sheets etc in the head are not propagated). Yeah, I'm using that as well. > > You could stip out meta tags, but then you would have to stip out only > the ones that are relevant to sitemesh? Right - maybe adding a scope="sitemesh" attribute (or type="hidden") could make this possible in a future release? Or or something like that. Matt --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]