Page 1 of 1

META TAGS for single entries PLUGIN

Posted: Mon Apr 23, 2007 1:52 pm
by classicrallies
I'm using the HTML META-Tags Plugin (Sets meta keywords/description HTML tags for single entry pages)

I would like to add description and keywords Meta Tags in my home page (http://www.classicrallies.com/blog/index.php)

The problem is that if I modify the index.tpl, in single entries I will have two meta descriptions and two meta-keywords.

Is there a way to do it? something like "if not single entries display meta-description and meta-keywords"

Many Thanks

Re: META TAGS for single entries PLUGIN

Posted: Mon Apr 23, 2007 2:53 pm
by garvinhicking
Hi!

Yes, using smarty:

Code: Select all

{if NOT $is_single_entry}
...meta-tags here...
{/if}
in index.tpl.

HTH,
Garvin

Thanks

Posted: Mon Apr 23, 2007 5:08 pm
by classicrallies
Thanks. Perfect!