roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: weblog home
Date Wed, 26 Mar 2008 19:50:20 GMT
On Mon, Mar 24, 2008 at 6:31 AM, raúl fuenzalida <aeon.lancer@gmail.com> wrote:
> how do i detect if the browser is in the weblog home url, with velocity?
>
>  i mean something like
>  #if ($webloghomeurl)
>  ...
>
>  sorry, i didn't find a boolean for that in the template guide

I think you can get the behavior you want by using
$model.isPermalink() to determine if you are on a single-entry page.

- Dave

Mime
View raw message