Skip to content

Commit 353fe6c

Browse files
committed
Fixed GitHub Pages baseurl path issues
1 parent 5a9099e commit 353fe6c

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

_config.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ appstore_link :
77
playstore_link : # Enter Google Play Store URL.
88
presskit_download_link : # Enter a link to downloadable file or (e.g. public Dropbox link to a .zip file). Or upload your press kit file to assets and set path accordingly (e.g. "assets/your_press_kit.zip").
99

10-
app_name : Test # Automatically populates if not set and if iOS app ID is set. Otherwise enter manually.
10+
app_name : # Automatically populates if not set and if iOS app ID is set. Otherwise enter manually.
1111
app_price : # Automatically populates if not set and if iOS app ID is set. Otherwise enter manually.
1212
enable_smart_app_banner : true # Set to true to show a smart app banner at top of page on mobile devices.
1313
app_description : Wherever some that and kiwi that well
@@ -109,7 +109,16 @@ google_analytics :
109109

110110

111111

112-
# Jekyll Configuration. No need to touch this.
112+
113+
114+
115+
116+
117+
118+
119+
####################################################
120+
### Jekyll Configuration. No need to touch this. ###
121+
####################################################
113122

114123
# The release of Mobile App Landing Page that you're using
115124
version: v1.0
@@ -122,3 +131,4 @@ sass:
122131
exclude:
123132
- LICENSE
124133
- README.md
134+
- CNAME

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<footer>
2-
<p class="footerText">Made by <a href="{{ site.your_link }}">{{ site.your_name }}</a> in {{ site.your_city }}</p>
2+
<p class="footerText">Made by {% if site.your_link %}<a href="{{ site.your_link }}">{% endif %}{{ site.your_name }}{% if site.your_link %}</a>{% endif %}{% if site.your_city %} in {{ site.your_city }}{% endif %}</p>
33
<div class="footerIcons">
44

55
{% if site.facebook_username %}

_includes/screencontent.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,23 @@
2020
<script>
2121
$(function() {
2222
$(".videoContainer").removeClass("hidden");
23-
$(".screenvideo").append('<source src="{{ file.path }}" type="video/mp4">');
23+
$(".screenvideo").append('<source src="{{ site.github.baseurl }}{{ file.path }}" type="video/mp4">');
2424
console.log("{{ file.path }}");
2525
});
2626
</script>
2727
{% elsif file.extname == ".ogg" %}
2828
<script>
2929
$(function() {
3030
$(".videoContainer").removeClass("hidden");
31-
$(".screenvideo").append('<source src="{{ file.path }}" type="video/ogg">');
31+
$(".screenvideo").append('<source src="{{ site.github.baseurl }}{{ file.path }}" type="video/ogg">');
3232
console.log("{{ file.path }}");
3333
});
3434
</script>
3535
{% elsif file.extname == ".webm" %}
3636
<script>
3737
$(function() {
3838
$(".videoContainer").removeClass("hidden");
39-
$(".screenvideo").append('<source src="{{ file.path }}" type="video/webm">');
39+
$(".screenvideo").append('<source src="{{ site.github.baseurl }}{ file.path }}" type="video/webm">');
4040
console.log("{{ file.path }}");
4141
});
4242
</script>

0 commit comments

Comments
 (0)