#Github Pages deploy: Inconsistent image links

10 messages · Page 1 of 1 (latest)

signal tartan
#

I managed to deploy and my site runs fine, but images and video will omit the base of the link on some pages even though the link is the same in the source files. Whenever I forcedly add the base url /portfolio to the images that don't work, it will render /portfolio twice and if I don't It will add nothing. Basically pointing to myaccount.github.io/assets/image.png or myaccount.github.io/portfolio/portfolio/assets/image.png in some cases

EXAMPLES:
Link in markdown file: ../../assets/120shots_so.png
Link in project page: "../../assets/120shots_so.png"
Link in broken projects page "/skelegondk.github.io/assets/120shots_so.png"

novel steepleBOT
#
No-one around right now?

It looks like no-one has responded to your question yet. People might not be available right now or don’t know how to answer your question. Want an answer while you wait? Try asking our experimental bot in #1095492539085230272.

golden violet
#

Hi. What does your Astro config look like?

signal tartan
frozen quartz
signal tartan
frozen quartz
#

How does your links look like before and after?

signal tartan
frozen quartz
#

I mean the URL links for an example

signal tartan