Re: Hiding content from meta tags
Scott Farquhar <[email protected]> Sat, 27 Aug 2005 16:11:16 +1000
| Newsgroups | gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user |
|---|---|
| Message-ID | <[email protected]> |
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 /> ? There is also <decorator:title /> if you are just interested in the title (note that style sheets etc in the head are not propagated). You could stip out meta tags, but then you would have to stip out only the ones that are relevant to sitemesh? Cheers, Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]