Change header meta tags based on whether the app is running in browser or as mobile app

Similar post to this one: [Solved] Can I put meta tag inside `<head>` conditionally? Is it possible?

You can’t use logic in the head tag.

Check this answer out: http://stackoverflow.com/a/2568915/601455