Skip to content

Commit

Permalink
Add missing images
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinEtchells committed Nov 8, 2024
1 parent 1749725 commit 2be622d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module.exports = function (eleventyConfig) {
html = html.replace(image, `<figure>${image}<figcaption>${caption}</figcaption></figure>`);
}
// set correct image path
if (!image.includes('"https:')) {
if (!image.includes('"https:')) { // check it's not an external image (careful to allow for links in the caption)
html = html.replace(image, image.replace("/img", "/img/from-cms"));
}
});
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ _site
.DS_Store
/playwright-report
/contentful-backups/*.json
/public/img/from-cms/*.avif
/public/img/from-cms/*.jpg
.terraform
terraform.tfstate.d
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/from-cms/ben1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2be622d

Please sign in to comment.