Theme and styling missing from public files - (newbie)

This is my repo

The site loads fine in draft locally, but when I use the hugo command to generate the public files the theme and styling are missing

I am making some newbie error, I thought I was past this stage but it appears not :slightly_smiling_face:

You need to use a web server to view the generated site. Loading the files directly in the browser normally does not work.

The paths to css and js files etc. are absolute in the generated site (they start with a “/”), that will point to the wrong place when you load the files directly in an browser.

I tested your repo locally and it works as it should.

1 Like

great thanks, I didnt know that

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