Move recipes images to /img/recipes
This commit is contained in:
parent
91c7365085
commit
689112eaae
|
|
@ -71,8 +71,8 @@ module.exports = config => {
|
||||||
let metadata = await Image(`./src/${src}`, {
|
let metadata = await Image(`./src/${src}`, {
|
||||||
widths: [600, 1500, 3000],
|
widths: [600, 1500, 3000],
|
||||||
formats: ['webp', 'jpeg'],
|
formats: ['webp', 'jpeg'],
|
||||||
outputDir: './_site/recipe-images',
|
outputDir: './_site/img/recipes',
|
||||||
urlPath: '/recipe-images/'
|
urlPath: '/img/recipes/'
|
||||||
});
|
});
|
||||||
|
|
||||||
let imageAttributes = {
|
let imageAttributes = {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
backend:
|
backend:
|
||||||
name: git-gateway
|
name: git-gateway
|
||||||
branch: main
|
branch: main
|
||||||
media_folder: "src/recipe-images"
|
media_folder: "src/img/recipes"
|
||||||
public_folder: "/recipe-images"
|
public_folder: "/img/recipes"
|
||||||
|
|
||||||
collections:
|
collections:
|
||||||
- name: "recipes"
|
- name: "recipes"
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 208 KiB After Width: | Height: | Size: 208 KiB |
|
Before Width: | Height: | Size: 573 KiB After Width: | Height: | Size: 573 KiB |
|
Before Width: | Height: | Size: 232 KiB After Width: | Height: | Size: 232 KiB |
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Coconut lentil soup
|
title: Coconut lentil soup
|
||||||
image: /recipe-images/coconut-lentil-soup.jpg
|
image: /img/recipes/coconut-lentil-soup.jpg
|
||||||
tags:
|
tags:
|
||||||
- Soup 🥣
|
- Soup 🥣
|
||||||
- Vegetarian 🌿
|
- Vegetarian 🌿
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Courgette & lemon risotto
|
title: Courgette & lemon risotto
|
||||||
image: /recipe-images/courgette-lemon-risotto.jpg
|
image: /img/recipes/courgette-lemon-risotto.jpg
|
||||||
tags:
|
tags:
|
||||||
- Italian 🇮🇹
|
- Italian 🇮🇹
|
||||||
- Vegetarian 🌿
|
- Vegetarian 🌿
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Simple brownies
|
title: Simple brownies
|
||||||
image: /recipe-images/brownies.jpg
|
image: /img/recipes/brownies.jpg
|
||||||
tags:
|
tags:
|
||||||
- Sweet 🍬
|
- Sweet 🍬
|
||||||
- Cake 🍰
|
- Cake 🍰
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue