danurbanowicz / eleventy-netlify-boilerplate

A template for building a simple website with the Eleventy static site generator

Home Page:https://eleventy-netlify-boilerplate.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support for images

Blockchainbrett opened this issue · comments

hey Im trying to just add images to posts and the home page

i added the png to the /img folder and referencing them in the home.md and the firstpost.md with the following format

![](/img/CryptoArtDigestLogo.png)

is there anything else I need to do? they wont show up and im used to this working on another gatsbyJS site I use.

Hi, it looks like your file path is missing the /static/ parent folder, which is where we output our static assets.

It should be:

![](/static/img/CryptoArtDigestLogo.png)

Hopefully that fixes it for you.

Closing this now, but please feel free to re-open if your issue is not resolved.

ezoic increase your site revenue