Firesphere

Example is wrapping the Google Analytics in a "isLive"

Firesphere

I often found, that using isDev or isLive in templates is pretty useful, so a PR wouldn't be a bad idea

MichalKleiner

I guess I’m using it for stuff that would normally done in php and the Requirements backend.. but we’re not using that

MichalKleiner

created my own method, might move it into a template provider and/or create a PR

Firesphere

So... make your own method, or make a PR to expose these methods to the template

MichalKleiner

before I write my own controller method, is there a way how to get site mode (dev/test/live) in templates?