diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000..2afa19dbea Binary files /dev/null and b/.DS_Store differ diff --git a/.gitignore b/.gitignore index 2017eae6d7..b068be82d5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,13 @@ -*.iml -.idea/* _site -push-messaging-and-notifications/config.js -push-messaging-and-notifications/manifest.json -Gemfile.lock -node_modules .DS_Store +.idea/* +.netlify +.vscode/ +*.iml *.pyc +certificate.* dist/ +Gemfile.lock +node_modules +push-messaging-and-notifications/config.js +push-messaging-and-notifications/manifest.json diff --git a/Gemfile b/Gemfile index 6513fb37f5..1ef438ddf9 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,5 @@ source 'https://rubygems.org' gem 'github-pages', '>=39' gem 'jekyll-sitemap' + +gem "webrick", "~> 1.7" diff --git a/_layouts/default.html b/_layouts/default.html index 006ba33e5f..845f7f0e70 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -37,6 +37,9 @@ {% assign sub_dirs = page.path | split: '/' | size | minus: 1 %} {% capture relative_path_to_root %}{% for i in (1..sub_dirs) %}../{% endfor %}{% endcapture %} + {% if page.manifest_url %} + + {% endif %} {% if page.icon_url %} {% else %} diff --git a/app-install-banner/basic-banner/index.html b/app-install-banner/basic-banner/index.html index da43adfece..bf9deda80d 100644 --- a/app-install-banner/basic-banner/index.html +++ b/app-install-banner/basic-banner/index.html @@ -57,7 +57,11 @@
short_name
, 144 pixel icon and a type of 'image/png'In this example you will see below a message indicating that the beforeinstallprompt
event was fired.
To see if this example works, come back in another day and you will see the banner.
For testing we encourage you to force the banner to appear by setting the chrome://flags/#bypass-app-banner-engagement-checks flag.