I’m trying to create a blog with Hugo, using the Ezhil theme. However, for some reason, the images in my static/images
directory don’t seem to render.
In my content/posts/post1.md
file, I have
![images](/images/space.jpeg)
{{< figure src="/images/space.jpeg" title="Space" >}}
But, only the alt text (images
) is displayed for the first one, and only the title Space
is displayed for the second one, and the original image (at static/images/space.jpeg
) isn’t displayed.
Note - However, something like {{< figure src="https://avatars.githubusercontent.com/u/29385237?s=200&v=4" title="Hugo" >}}
renders just fine.
When I run hugo server -D --disableFastRender
and move the space.jpeg
file out of and back into static/images
, I get
File no longer exists in static dir, removing /images/space.jpeg
and
Syncing images/space.jpeg to /
respectively.
This makes me think that the files within the static
directory ARE in fact getting tracked correctly, but then opening the respective file while running a live server instance doesn’t show the file.
Any advice in fixing this would be very helpful and much appreciated. Thanks!