Different content for cordova/mobile and browser application

I need to display different content on main page of client vs cordova/mobile.

What I would do is to create a global helper…

Template.registerHelper('isMobile', () => {
	return Meteor.isCordova;

…and use this in my template (jade/pug)

	if isMobile
		h1 Mobile title
		h1 Different content

Is this the correct way to do that?