diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-08-23 16:17:09 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-08-23 16:17:09 +0200 |
commit | 3e081c43d9b82cab95ef147b8a11e33c2a0eb082 (patch) | |
tree | 1653a9bfc03b2903ee138ed17a733243d71c16e1 /core/templates/layout.guest.php | |
parent | 9ac15bc4e9d78c77d982bb017034c8ac1d8e4b54 (diff) | |
download | nextcloud-server-3e081c43d9b82cab95ef147b8a11e33c2a0eb082.tar.gz nextcloud-server-3e081c43d9b82cab95ef147b8a11e33c2a0eb082.zip |
Only add the app-itunes-app tag if the id is set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/templates/layout.guest.php')
-rw-r--r-- | core/templates/layout.guest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 91bfd08597c..8ba6b0a42b3 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -11,7 +11,9 @@ </title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> + <?php if ($theme->getiTunesAppId() !== '') { ?> <meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>"> + <?php } ?> <meta name="theme-color" content="<?php p($theme->getColorPrimary()); ?>"> <link rel="icon" href="<?php print_unescaped(image_path('', 'favicon.ico')); /* IE11+ supports png */ ?>"> <link rel="apple-touch-icon" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>"> |