One of the cool things of radiant is that dev.yourdomain.com shows
radiant
in development modes… so you can see the draft pages…
BUT I would like to turn of some of the live scripts… like google
analytics
javascript. Is there an easy way to determine if a page is rendered in
development mode ?
One of the cool things of radiant is that dev.yourdomain.com shows radiant
in development modes… so you can see the draft pages…
BUT I would like to turn of some of the live scripts… like google analytics
javascript. Is there an easy way to determine if a page is rendered in
development mode ?
Not presently. You could make a <r:if_dev> and a <r:unless_dev> tag to
fix the problem. I’d probably even accept a patch for these tags. They
seem generally useful.