© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago•
15 replies
SendMost

Hugo Static Site missing images once deployed to Cloudflare Pages

Hi everyone,

Thank you for looking at this issue.

I made a simple Hugo website locally, git pushed to GitHub, and deployed to Cloudflare Pages (https://williamsrestore.com/). I removed the base_url in hugo.toml and used the build commands of "hugo -b $CF_PAGES_URL" in Cloudflare pages. I attached an image showing that Cloudflare Pages uploaded the images (work1-4.jpg) but when I visit https://williamsrestore.com, the images are broken/not loading at the bottom of the website.

Any advice on how to fix this? Thanks in advance.
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Persistent error while deploying hugo site to Pages
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago
Error publishing hugo site
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago
Delete Cloudflare App deployed using pages
Cloudflare DevelopersCDCloudflare Developers / pages-help
16mo ago