You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Guy Katz <gk...@allot.com> on 2007/08/21 15:55:46 UTC
set entry name as html title when viewing a specific post
Hi all;
What is the best way to 'ask' the system (in a velocity template) if the
current page is a view of a single post? I want to display the entry
title as the html title in such a case.
Thanks in advance.
Re: set entry name as html title when viewing a specific post
Posted by Sam Neth <sa...@neth.com>.
My templates do this:
<title>$model.weblog.name
#if ($model.weblogEntry.title)
: $model.weblogEntry.title
#end
</title>
Guy Katz wrote:
> Hi all;
>
> What is the best way to 'ask' the system (in a velocity template) if the
> current page is a view of a single post? I want to display the entry
> title as the html title in such a case.
>
> Thanks in advance.
>
>
>
>
>
>
>
>
>
>
>