I want to use a mobile variable to show different segments of the code depending on the user’s device. For example:
{{#if mobile}}you are on mobile{{else}}you are on desktop{{/fi}}
I know I could use js to do it… But I believe if there is server variable like this it will be way better to render the view straight from the backend, than leaving it to the user.