roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Neth <...@neth.com>
Subject Re: set entry name as html title when viewing a specific post
Date Tue, 21 Aug 2007 15:17:59 GMT
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.
>
>  
>
>  
>
>  
>
>  
>
>
>   


Mime
View raw message