Different handlebars for mobile and desktop

Hi there,
I need a bit of help with having different handlebars for mobile and desktop. Normally, I would just use a bit of CSS, but this time, I think using some {{#if}} here and there might be an easier solution. Does anybody know what {{#if}} parameter is needed to decide if it’s for mobile or desktop?

It’s not doable using handlebars because the server will not know anything about the client’s screen size. You could potentially use some client-side JS instead if you have to modify the html based on screen size although it would be recommended to stick with CSS and media queries if possible.

I’ll stick to CSS then, thanks for the response!