roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Jones" <rich...@pixyblog.com>
Subject Re: Different meta tags for same template pages on roller
Date Tue, 01 Apr 2008 11:58:37 GMT
Hi,

I do something similar using velocity in the page templates, like so:

#if($model.weblogPage.name == "Slideshow")

#end


And also you can test if the Weblog template is displaying a single
entry or multiple entries with something like:

#if ($model.weblogEntry.title)

#end


HTH,

Richard


On 07/02/2008, Jorge Martinez <jmf.tuplaza@gmail.com> wrote:
> Hello,
>
>  I recently found at my roller 4.0 blog that main page, day pages and
>  category pages use the same template for generating html content.
>
>  I would like to show different html title and meta tags for each of these
>  pages. i.e:
>
>  <title>Name of my blog - home</title> for the main page
>  <title>Name of my blog - Feb 6th 2008</title> for today page
>
>  I tried different things on the day template, but didn't succeed. Any help?
>
>  Regards,
>
>
>  Jorge
>

Mime
View raw message