Skip to content
Browse files

Add PWA section to README

  • Loading branch information
ashawley committed Mar 15, 2020
1 parent 7a1585f commit 04371f9c1661410bf12b9062d77fcf7ae9e6edd4
Showing with 16 additions and 1 deletion.
  1. +15 −0
  2. +1 −1 manifest.json
@@ -175,6 +175,21 @@ If search engine optimization is your thing, you can also set up `meta_descripti

And lastly - if you happen to write in language other than English be sure to change `og_locale` in `_config.yml` to reflect it.

### Progressive Web App

Pixyll supports features of a progressive web app (PWA). As a PWA, your site's home page can be installed as a shortcut or an app icon on a mobile device. Also, certain assets are cached so the site can be accessed should the device be offline from the network.

Pixyll supports these features because it provides a Javascript file that acts as a *service worker* in the browser and has a JSON file with a *web manifest*. By default, these are configured to the settings of Pixyll, but you should consider cutomizing them to your specific site:

1. Provide a different version of `splash-512x512.png` which is the loading screen for your offline app.
2. A `favicon-192x192.png` for the app icon (if you haven't already).
3. In `sw.js`, list any other files or pages you want to add to the list of cached artifacts.

For more information on PWAs:


### Enjoy

I hope you enjoy using Pixyll. If you encounter any issues, please feel free to let me know by creating an [issue]( I'd love to help.
@@ -17,7 +17,7 @@ layout: null
"sizes": "192x192"
"start_url": "{{ '/' | absolute_url }}",
"start_url": "{{ '/' | relative_url }}",
"background_color": "#ffffff",
"display": "standalone",
"scope": "{{ '/' | relative_url }}",

0 comments on commit 04371f9

Please sign in to comment.
You can’t perform that action at this time.