diff --git a/website/gatsby-config.js b/website/gatsby-config.js index 837634e5a..5b6ddcfc1 100644 --- a/website/gatsby-config.js +++ b/website/gatsby-config.js @@ -17,6 +17,8 @@ const DEFAULT_TEMPLATE = path.resolve('./src/templates/index.js') const NIGHTLY_BRANCHES = ['spacy.io-develop'] const isNightly = !!+process.env.SPACY_NIGHTLY || NIGHTLY_BRANCHES.includes(process.env.BRANCH) +const favicon = isNightly ? `src/images/icon_nightly.png` : `src/images/icon.png` +const binderBranch = isNightly ? 'nightly' : site.binderBranch module.exports = { siteMetadata: { @@ -26,6 +28,7 @@ module.exports = { ...models, universe, nightly: isNightly, + binderBranch, }, plugins: [ @@ -132,7 +135,7 @@ module.exports = { background_color: site.theme, theme_color: site.theme, display: `minimal-ui`, - icon: `src/images/icon.png`, + icon: favicon, }, }, { diff --git a/website/src/images/icon_nightly.png b/website/src/images/icon_nightly.png new file mode 100644 index 000000000..069c1b803 Binary files /dev/null and b/website/src/images/icon_nightly.png differ