diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 967c4d3dbd..2211b3ef1a 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -11,7 +11,9 @@
+ getiTunesAppId() !== '') { ?>
+
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php
index 2927c525ec..36a5f1e538 100644
--- a/core/templates/layout.public.php
+++ b/core/templates/layout.public.php
@@ -10,7 +10,9 @@
+ getiTunesAppId() !== '') { ?>
+
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 458af24696..e895ea8809 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -10,7 +10,9 @@
+ getiTunesAppId() !== '') { ?>
+