diff --git a/docs/_config.yml b/docs/_config.yml index b9ad756..0c29fac 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -3,6 +3,7 @@ page_title : # App Info ios_app_id : 1234793120 # Required. Enter iOS app ID to automatically populate name, price and icons (e.g. 718043190). +ios_app_country : us # Optional, Enter 2 letter country code as in https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 appstore_link : # Automatically populates if not set and if iOS app ID is set. Otherwise enter manually. playstore_link : # Enter Google Play Store URL. diff --git a/docs/_includes/appstoreimages.html b/docs/_includes/appstoreimages.html index 3789c68..5228249 100644 --- a/docs/_includes/appstoreimages.html +++ b/docs/_includes/appstoreimages.html @@ -6,7 +6,7 @@ $(function() { - var apiURL = "https://itunes.apple.com/lookup?id={{ site.ios_app_id }}&callback=?"; + var apiURL = "https://itunes.apple.com/lookup?id={{ site.ios_app_id }}&country={{ site.ios_app_country }}&callback=?"; $.getJSON(apiURL, function(json) {