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}`, {
|
||||
widths: [600, 1500, 3000],
|
||||
formats: ['webp', 'jpeg'],
|
||||
outputDir: './_site/recipe-images',
|
||||
urlPath: '/recipe-images/'
|
||||
outputDir: './_site/img/recipes',
|
||||
urlPath: '/img/recipes/'
|
||||
});
|
||||
|
||||
let imageAttributes = {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
backend:
|
||||
name: git-gateway
|
||||
branch: main
|
||||
media_folder: "src/recipe-images"
|
||||
public_folder: "/recipe-images"
|
||||
media_folder: "src/img/recipes"
|
||||
public_folder: "/img/recipes"
|
||||
|
||||
collections:
|
||||
- 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
|
||||
image: /recipe-images/coconut-lentil-soup.jpg
|
||||
image: /img/recipes/coconut-lentil-soup.jpg
|
||||
tags:
|
||||
- Soup 🥣
|
||||
- Vegetarian 🌿
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Courgette & lemon risotto
|
||||
image: /recipe-images/courgette-lemon-risotto.jpg
|
||||
image: /img/recipes/courgette-lemon-risotto.jpg
|
||||
tags:
|
||||
- Italian 🇮🇹
|
||||
- Vegetarian 🌿
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Simple brownies
|
||||
image: /recipe-images/brownies.jpg
|
||||
image: /img/recipes/brownies.jpg
|
||||
tags:
|
||||
- Sweet 🍬
|
||||
- Cake 🍰
|
||||
|
|
|
|||
Loading…
Reference in a new issue