File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ # page title
2+ page_title : # Automatically populates with app name if not set and if iOS app ID is set. Otherwise enter manually.
3+
14# App Info
25ios_app_id : 1234793120 # Required. Enter iOS app ID to automatically populate name, price and icons (e.g. 718043190).
36
Original file line number Diff line number Diff line change 1818 // Set favicon
1919 $ ( 'link[rel="shortcut icon"]' ) . attr ( "href" , appInfo . artworkUrl512 ) ;
2020
21+ // Set page title using the iOS app ID if it is not set manually in _config.yml
22+ var $pageTitle = $ ( ".pageTitle" ) ;
23+ if ( $ . trim ( $ ( $pageTitle ) . text ( ) ) . length == 0 ) {
24+ $ ( $pageTitle ) . html ( appInfo . trackName ) ;
25+ }
26+
2127 // Set large app icon using the iOS app ID if it is not set manually in _config.yml
2228 var $appIconLarge = $ ( ".appIconLarge" ) ;
2329 if ( ! $appIconLarge . attr ( 'src' ) ) {
Original file line number Diff line number Diff line change 44 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
55 < base target ="_blank ">
66
7- < title > {{ site.app_name }}</ title >
7+ < title class =" pageTitle " > {{ site.page_title }}</ title >
88 < meta name ="description " content ="{{ site.app_description }} ">
99
1010 < link rel ="shortcut icon " href ="{{ site.app_icon }} ">
You can’t perform that action at this time.
0 commit comments