{{#ifeq $request.isMobile 'true'}}
This is mobile specific title
{{/ifeq}}
====== How to add desktop specific code ? ======
{{#ifneq $request.isMobile 'true'}}
This is desktop specific heading
{{/ifneq}}
If you want to use if/else condition for mobile detect, you should use it like follow.
{{#ifeq $request.isMobile 'true'}}
How to add mobile specific code ?
This is mobile specific title
{{else}}
How to add desktop specific code ?
This is desktop specific title
{{/ifeq}}