Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

meta_keywords and templates problem

Quote Reply
meta_keywords and templates problem
Hi

I'm doing an install of linke and using the templates feature for the first time (the client will want them, I'd _much_ rather hack the .pl file!).

My problem is that this in the category.html files:

Code:
<%if meta_name%>
<meta name="description" content="<%meta_name%>">
<%endif%>
<if meta_keywords%>
<meta name="keywords" content="<%meta_keywords%>">
<%endif%>

is resulting in this when the pages are built:

Code:

<meta name="description" content="ODEN links to Local suppliers of business products and business information and advice. The Open District Electronic Network (ODEN) is operated by North Kesteven District Council.">
<if meta_keywords%>
<meta name="keywords" content="ODEN, NKDC, goods, supplies, links, local, suppliers, products, business, information, advice, Open District Electronic Network, North Kesteven District Council">

The problem is that the <if meta_keywords%> is left in.

I've not changed anything in Templates.pm and nothing that should matter in site_html_templates.pl.

I can't believe this is the dafault way it works?

Any ideas anyone?

TIA

Chris
Subject Author Views Date
Thread meta_keywords and templates problem Chris Croome 1141 Sep 7, 1999, 8:15 AM
Post Re: meta_keywords and templates problem
Alex 1095 Sep 8, 1999, 2:23 PM
Post Re: meta_keywords and templates problem
Chris Croome 1097 Sep 8, 1999, 2:38 PM