terse social icons to root
This commit is contained in:
parent
f1dbf6e37f
commit
f4c113fb46
1 changed files with 2 additions and 25 deletions
27
.eleventy.js
27
.eleventy.js
|
|
@ -90,36 +90,13 @@ module.exports = eleventyConfig => {
|
||||||
// --------------------- Passthrough File Copy -----------------------
|
// --------------------- Passthrough File Copy -----------------------
|
||||||
|
|
||||||
// same path
|
// same path
|
||||||
|
|
||||||
['src/assets/fonts/', 'src/assets/images/'].forEach(path =>
|
['src/assets/fonts/', 'src/assets/images/'].forEach(path =>
|
||||||
eleventyConfig.addPassthroughCopy(path)
|
eleventyConfig.addPassthroughCopy(path)
|
||||||
);
|
);
|
||||||
|
|
||||||
// social images to root
|
// social icons and manifest to root directory
|
||||||
|
|
||||||
eleventyConfig.addPassthroughCopy({
|
eleventyConfig.addPassthroughCopy({
|
||||||
'src/assets/images/favicon/favicon.ico': 'favicon.ico'
|
'src/assets/images/favicon/*': '/'
|
||||||
});
|
|
||||||
eleventyConfig.addPassthroughCopy({
|
|
||||||
'src/assets/images/favicon/favicon.svg': 'favicon.svg'
|
|
||||||
});
|
|
||||||
eleventyConfig.addPassthroughCopy({
|
|
||||||
'src/assets/images/favicon/apple-touch-icon.png': 'apple-touch-icon.png'
|
|
||||||
});
|
|
||||||
eleventyConfig.addPassthroughCopy({
|
|
||||||
'src/assets/images/favicon/favicon-32x32.png': 'favicon-32x32.png'
|
|
||||||
});
|
|
||||||
eleventyConfig.addPassthroughCopy({
|
|
||||||
'src/assets/images/favicon/favicon-16x16.png': 'favicon-16x16.png'
|
|
||||||
});
|
|
||||||
eleventyConfig.addPassthroughCopy({
|
|
||||||
'src/assets/images/favicon/android-chrome-192x192.png': 'android-chrome-192x192.png'
|
|
||||||
});
|
|
||||||
eleventyConfig.addPassthroughCopy({
|
|
||||||
'src/assets/images/favicon/android-chrome-512x512.png': 'android-chrome-512x512.png'
|
|
||||||
});
|
|
||||||
eleventyConfig.addPassthroughCopy({
|
|
||||||
'src/assets/images/favicon/maskable.png': 'maskable.png'
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// --------------------- Config -----------------------
|
// --------------------- Config -----------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue