diff --git a/build/__snapshots__/write-homepage.test.js.snap b/build/__snapshots__/write-homepage.test.js.snap index d410aec..d9d5fd9 100644 --- a/build/__snapshots__/write-homepage.test.js.snap +++ b/build/__snapshots__/write-homepage.test.js.snap @@ -76,7 +76,7 @@ Please update [this file](https://github.com/yannbertrand/macos-defaults/blob/ma Thank you! I built it using [VuePress](https://vuepress.vuejs.org/). Take a look at [my report](https://github.com/yannbertrand/macos-defaults/tree/main/build#readme) if you want to use it. - \\"Deploys + \\"Deploys " `; @@ -159,7 +159,7 @@ Please update [this file](https://github.com/yannbertrand/macos-defaults/blob/ma Thank you! I built it using [VuePress](https://vuepress.vuejs.org/). Take a look at [my report](https://github.com/yannbertrand/macos-defaults/tree/main/build#readme) if you want to use it. - \\"Deploys + \\"Deploys " `; @@ -243,7 +243,7 @@ Please update [this file](https://github.com/yannbertrand/macos-defaults/blob/ma Thank you! I built it using [VuePress](https://vuepress.vuejs.org/). Take a look at [my report](https://github.com/yannbertrand/macos-defaults/tree/main/build#readme) if you want to use it. - \\"Deploys + \\"Deploys " `; @@ -328,7 +328,7 @@ Please update [this file](https://github.com/yannbertrand/macos-defaults/blob/ma Thank you! I built it using [VuePress](https://vuepress.vuejs.org/). Take a look at [my report](https://github.com/yannbertrand/macos-defaults/tree/main/build#readme) if you want to use it. - \\"Deploys + \\"Deploys " `; @@ -415,7 +415,7 @@ Please update [this file](https://github.com/yannbertrand/macos-defaults/blob/ma Thank you! I built it using [VuePress](https://vuepress.vuejs.org/). Take a look at [my report](https://github.com/yannbertrand/macos-defaults/tree/main/build#readme) if you want to use it. - \\"Deploys + \\"Deploys " `; diff --git a/build/templates/.vuepress/public/netlify.svg b/build/templates/.vuepress/public/netlify.svg new file mode 100644 index 0000000..863015a --- /dev/null +++ b/build/templates/.vuepress/public/netlify.svg @@ -0,0 +1,22 @@ + + + + netlify-callout-vertical-light + Created with Sketch. + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/templates/fr/home.md.handlebars b/build/templates/fr/home.md.handlebars index 236af95..3f9bbdb 100644 --- a/build/templates/fr/home.md.handlebars +++ b/build/templates/fr/home.md.handlebars @@ -80,5 +80,5 @@ Mettez à jour [ce fichier](https://github.com/yannbertrand/macos-defaults/blob/ Merci ! Il a été construit grâce à [VuePress](https://vuepress.vuejs.org/). Jetez un coup d'oeil à [mon avis](https://github.com/yannbertrand/macos-defaults/tree/main/build#readme) si vous souhaitez utiliser la même techno. - Déployé par Netlify + Déployé par Netlify diff --git a/build/templates/home.md.handlebars b/build/templates/home.md.handlebars index 19e359d..5ff8942 100644 --- a/build/templates/home.md.handlebars +++ b/build/templates/home.md.handlebars @@ -80,5 +80,5 @@ Please update [this file](https://github.com/yannbertrand/macos-defaults/blob/ma Thank you! I built it using [VuePress](https://vuepress.vuejs.org/). Take a look at [my report](https://github.com/yannbertrand/macos-defaults/tree/main/build#readme) if you want to use it. - Deploys by Netlify + Deploys by Netlify diff --git a/build/write-config.js b/build/write-config.js index 05b8cfc..4bc7071 100644 --- a/build/write-config.js +++ b/build/write-config.js @@ -78,6 +78,10 @@ module.exports = (config, templatesPath, destinationPath) => { `${templatesPath}/.vuepress/public/mstile-150x150.png`, `${destinationPath}/.vuepress/public/mstile-150x150.png` ) + fs.copyFileSync( + `${templatesPath}/.vuepress/public/netlify.svg`, + `${destinationPath}/.vuepress/public/netlify.svg` + ) fs.copyFileSync( `${templatesPath}/.vuepress/public/robots.txt`, `${destinationPath}/.vuepress/public/robots.txt` diff --git a/build/write-config.test.js b/build/write-config.test.js index 40236cb..be70815 100644 --- a/build/write-config.test.js +++ b/build/write-config.test.js @@ -25,6 +25,7 @@ const copiedFiles = [ '.vuepress/public/media-2x1.jpg', '.vuepress/public/media-2x1.webp', '.vuepress/public/mstile-150x150.png', + '.vuepress/public/netlify.svg', '.vuepress/public/robots.txt', '.vuepress/public/safari-pinned-tab.svg', '.vuepress/public/site.webmanifest',