The Dynamic Duo of PEAR::DB and Smarty
Subject:   Question about HTML structure
Date:   2003-09-17 02:42:37
From:   anonymous2
Hi !

I see this portion of code as a problem maybe :

{if $title != ""}
<title>website name - {$title}</title>
<title>website name - slogan goes here</title>

Why hiding the <title> in the loop ? that will cause uncomprehension to a html editor, no ?
Could we have stuff like

<title>website name -
{if $title != ""}
slogan goes here

I would have done like this, but maybe I'm wrong, as I just start on Templates.

Thanks anyway for the good article

Alain (