Images in site_footer.html only showing a home page

The images on the site_footer.html are only showing on the main home page. On the other pages it’s just the dummy symbol. If I add at the path a “/”, they don’t show at all. Here is the link to the repo (GitHub - obip/MII-UseCase-OMI: Website OMI) “layouts/partials/site_footer.html”
Thanks a lot for any ideas!

URLs without leading slash is relative to current page’s URL, so in this case, you probably got image’s 404 error on other pages, you can either using relURL or absURL to generate URLs for images and other resources.

For example,

<img src="{{ `images/MII-OMI.jpg` | relURL }}">
2 Likes

Thanks a lot! It worked!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.