Added conditional statement to display mobile content in the page template