Skip to content

Commit 72c7df0

Browse files
committed
Fixed smart app banner bug
1 parent 3e97729 commit 72c7df0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ playstore_link :
88

99
app_name : # Automatically populates if not set and if iOS app ID is set. Otherwise enter manually.
1010
app_price : # Automatically populates if not set and if iOS app ID is set. Otherwise enter manually.
11-
smart_app_banner : true # Set to true to show a smart app banner at top of page on mobile devices.
11+
enable_smart_app_banner : true # Set to true to show a smart app banner at top of page on mobile devices.
1212
app_description : Wherever some that and kiwi that well
1313
dolphin alas this the mindfully jeepers
1414
one aside canny one preparatory up less therefore

_includes/head.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
<meta name="viewport" content="width=device-width, initial-scale=1">
55
<base target="_blank">
66

7-
<title>{{ site.app_name }}</title>
8-
<title>{% if site.title %}{{ site.title }}{% else %}{{ site.app.name }}{% endif %}</title>
7+
<title>{% if site.title %}{{ site.title }}{% else %}{{ site.app_name }}{% endif %}</title>
98
<meta name="description" content="{{ site.description }}">
109

1110
<!-- Favicon -->
@@ -15,8 +14,8 @@
1514
<link rel="apple-touch-icon-precomposed" href="apple-icon-precomposed.png">
1615

1716
<!-- Smart App Banner -->
18-
{% if site_enable_smart_app_banner %}
19-
<meta name="apple-itunes-app" content="app-id={{ site.app_ios_id }}">
17+
{% if site.enable_smart_app_banner %}
18+
<meta name="apple-itunes-app" content="app-id={{ site.ios_app_id }}">
2019
{% endif %}
2120

2221
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">

0 commit comments

Comments
 (0)