On Wed, Mar 26, 2008 at 9:50 PM, Dave <[EMAIL PROTECTED]> wrote: > On Mon, Mar 24, 2008 at 6:31 AM, raúl fuenzalida <[EMAIL PROTECTED]> 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. >
but if the browser is at http://www.url.url/weblog/?page=1 it will be true using $model.isPermalink() and my idea is to get true only when the browser is at http://www.url.url/weblog/
