Skip to content

Commit

Permalink
Try adding a new passthrough for image folder
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianparker committed Oct 28, 2023
1 parent 36468e9 commit 62ee80f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = function (eleventyConfig) {

// output everything from the static folder at root of output
eleventyConfig.addPassthroughCopy({ static: "/" });
eleventyConfig.addPassthroughCopy({ "content/posts/img/": "/" });

// can use the shortcode 'md' in a page to render markdown copy as HTML in place
eleventyConfig.addFilter("md", function (content = "") {
Expand Down
Binary file removed static/IMG_1513.JPG
Binary file not shown.

0 comments on commit 62ee80f

Please sign in to comment.