Skip to content

Commit

Permalink
Add icons to gatsby-plugin-manifest example options (#1140)
Browse files Browse the repository at this point in the history
* Add icons to example options, mention the "static" directory

* Fix path to 'static' folder
  • Loading branch information
fk authored and KyleAMathews committed Jun 10, 2017
1 parent 2477956 commit 711d16d
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions packages/gatsby-plugin-manifest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,29 @@ plugins: [
{
resolve: `gatsby-plugin-manifest`,
options: {
"name": "GatsbyJS",
"short_name": "GatsbyJS",
"start_url": "/",
"background_color": "#f7f0eb",
"theme_color": "#a2466c",
"display": "minimal-ui",
name: "GatsbyJS",
short_name: "GatsbyJS",
start_url: "/",
background_color: "#f7f0eb",
theme_color: "#a2466c",
display: "minimal-ui",
icons: [
{
// Everything in /static will be copied to an equivalent
// directory in /public during development and build, so
// assuming your favicons are in /static/favicons,
// you can reference them here
src: `/favicons/android-chrome-192x192.png`,
sizes: `192x192`,
type: `image/png`,
},
{
src: `/favicons/android-chrome-512x512.png`,
sizes: `512x512`,
type: `image/png`,
},
],
},
},
]
```

0 comments on commit 711d16d

Please sign in to comment.