Site displaying blank page

Hi, I’ve been playing around with Hugo for a while. However, since a few days ago, I can’t render my site correctly, it seems I’m missing something.

I can view it with the local server but when I export it with the command hugo I see only blank pages, even if there’s code inside. The template is set up correctly and if I change it, I still can’t see the rendered site. Hope someone can help me​:tired_face::tired_face:!

We cannot guess the culprit of your issue from a generic description.

Please have a look at the forum Requesting Help guidelines and provide either a link to the project or a link to a minimal project with dummy content, that reproduces the issue.

Sorry for my carefulness, I’m attaching some additional information.

Output and Environment Details

Hugo Static Site Generator v0.80.0 darwin/amd64 BuildDate: unknown GOOS="darwin" GOARCH="amd64" GOVERSION="go1.15.6"

I’m using a Mac with arm processor, don’t know if this could be the issue.

Link to working site

For sometime it has been working smoothly, I only have te generated files. It is online at.

Link to NOT working site

This is the repo where the NOT working site is located, under render/ you can find the generated files.

The browser console shows several 404 errors to your project’s assets.

404 Errors Console Log
GEThttp://localhost:1313/assets/style.css
[HTTP/1.1 404 Not Found 1ms]

GEThttp://localhost:1313/style.css
[HTTP/1.1 404 Not Found 0ms]

GEThttp://localhost:1313/assets/fonts/Inter-Italic.woff2
[HTTP/1.1 404 Not Found 0ms]

GEThttp://localhost:1313/assets/fonts/Inter-Regular.woff2
[HTTP/1.1 404 Not Found 0ms]

GEThttp://localhost:1313/assets/fonts/Inter-Medium.woff2
[HTTP/1.1 404 Not Found 0ms]

GEThttp://localhost:1313/assets/fonts/Inter-MediumItalic.woff2
[HTTP/1.1 404 Not Found 1ms]

GEThttp://localhost:1313/assets/fonts/Inter-Bold.woff2
[HTTP/1.1 404 Not Found 1ms]

GEThttp://localhost:1313/assets/fonts/Inter-BoldItalic.woff2
[HTTP/1.1 404 Not Found 0ms]

GEThttp://localhost:1313/assets/main.js
[HTTP/1.1 404 Not Found 0ms]

GEThttp://localhost:1313/assets/prism.js
[HTTP/1.1 404 Not Found 1ms]

It appears that you are using some version of the Hello Friend theme, yet the theme’s /assets/ directory is missing from your repo.

Yeah, I noticed. I looked to style.css and it’s empty, so GitHub doesn’t upload it.

I’ve now created a zip called render.zip with all the files here: https://github.com/bonoms/webv2.git

No. You need to use a theme along with all of its required assets as the theme author has planned.

If you do not do the above then the project will not render properly.

1 Like

Thank you for your help, I’ll do that!

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