Skip to content

Commit

Permalink
Fix image path error
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinEtchells committed Nov 8, 2024
1 parent 96a6aa0 commit 1749725
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,10 @@ module.exports = function (eleventyConfig) {
html = html.replace(image, `<figure>${image}<figcaption>${caption}</figcaption></figure>`);
}
// set correct image path
if (!image.includes("http:")) {
if (!image.includes('"https:')) {
html = html.replace(image, image.replace("/img", "/img/from-cms"));
}
});

return html;
});

Expand Down
Binary file added public/img/from-cms/albers.png
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/gropius.png
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/itten.png
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/klee.png
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/nagy.png
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/schlemmer.png
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 1749725

Please sign in to comment.