File tree Expand file tree Collapse file tree 5 files changed +39
-9
lines changed Expand file tree Collapse file tree 5 files changed +39
-9
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ app_description : Wherever some that and kiwi that well
7
7
one aside canny one preparatory up less therefore
8
8
hello oh amid goodness checked.
9
9
app_price : 4.99
10
- ios_app_id : 912209541
10
+ ios_app_id :
11
11
android_app_id :
12
12
13
13
# Icon, screenshot and header image
14
- app_icon : /assets/appicon-1024px.png
15
- app_video : /assets/video.mp4
16
- app_screenshot : /assets/screenshot.png
17
- header_image : /assets/headerimage.png
14
+ app_icon : .. /assets/appicon-1024px.png # Will automatically populate if you have set the iOS app id.
15
+ app_video : # .. /assets/video.mp4 # Uncomment and replace with path to app preview video. Optimal resolutions: 1242x2688 or 1125x2436.
16
+ app_screenshot : .. /assets/screenshot.png # Will automatically populate if you have set the iOS app id.
17
+ header_image : .. /assets/headerimage.png # Replace with custom background image or link to background image.
18
18
19
19
# Social Links
20
20
facebook_username :
Original file line number Diff line number Diff line change
1
+ < script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js "> </ script >
2
+
3
+ {% if site.ios_app_id %}
4
+
5
+ < script >
6
+
7
+ $ ( function ( ) {
8
+
9
+ var apiURL = "https://itunes.apple.com/lookup?id={{ site.ios_app_id }}&callback=?" ;
10
+
11
+ $ . getJSON ( apiURL , function ( json ) {
12
+
13
+ if ( json . results && json . results . length ) {
14
+
15
+ console . info ( "Image strings loaded from Apple API." ) ;
16
+ var appInfo = json . results [ 0 ] ;
17
+
18
+ $ ( ".headerIcon" ) . attr ( "src" , appInfo . artworkUrl512 ) ;
19
+ $ ( ".appIconLarge" ) . attr ( "src" , appInfo . artworkUrl512 ) ;
20
+ $ ( ".iphoneScreen" ) . attr ( "src" , appInfo . screenshotUrls [ 0 ] ) ;
21
+
22
+ }
23
+ } ) ;
24
+ } ) ;
25
+
26
+ </ script >
27
+
28
+ {% endif %}
Original file line number Diff line number Diff line change 8
8
< link rel ="stylesheet " href ="https://use.fontawesome.com/releases/v5.6.3/css/all.css " integrity ="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/ " crossorigin ="anonymous ">
9
9
< link rel ="stylesheet " href ="{{ "/css/main.css" | prepend: site.baseurl }}">
10
10
< link rel ="canonical " href ="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }} ">
11
+
11
12
</ head >
Original file line number Diff line number Diff line change 9
9
</ clipPath >
10
10
</ defs >
11
11
</ svg >
12
- < img class ="headerIcon " src ="/assets/appicon-1024px.png ">
12
+ < img class ="headerIcon " src ="{{ site.app_icon }} ">
13
13
</ div >
14
14
< p > {{ site.app_name }}</ p >
15
15
</ div >
Original file line number Diff line number Diff line change 21
21
</ svg >
22
22
{% if site.app_video %}
23
23
< div class ="videoContainer ">
24
- < video poster =" /assets/Screenshot.png " autoplay ="autoplay " controls ="controls ">
24
+ < video autoplay ="autoplay " controls ="controls ">
25
25
< source src ="{{ site.app_video }} " type ="video/mp4 ">
26
26
</ video >
27
27
</ div >
28
28
{% else %}
29
- < img class ="iphoneScreen " src ="site.app_screenshot ">
29
+ < img class ="iphoneScreen " src ="{{ site.app_screenshot }} ">
30
30
{% endif %}
31
31
</ div >
32
32
< div class ="appInfo ">
38
38
</ clipPath >
39
39
</ defs >
40
40
</ svg >
41
- < img class ="appIconLarge " src ="/assets/appicon-1024px.png ">
41
+ < img class ="appIconLarge " src ="{{ site.app_icon }} ">
42
42
</ div >
43
43
< div class ="appNamePriceContainer ">
44
44
< h1 class ="appName ">
@@ -60,6 +60,7 @@ <h2 class="appPrice">
60
60
</ div >
61
61
{% include features.html %}
62
62
{% include footer.html %}
63
+ {% include appstoreimages.html %}
63
64
</ div >
64
65
</ div >
65
66
</ div >
You can’t perform that action at this time.
0 commit comments