Only working on server mode, building static breaks app
Closed this issue · 1 comments
y0nei commented
Describe the bug
I noticed that when running this with hugo --minify
to build all the files statically will cause weird issues. The CSS files fail to get loaded into html.
Steps to reproduce
- Just run
hugo --minify
instead of setting up a server - Open the
index.html
and check network tab, no css loads
Device information
Irrelevant
y0nei commented
Required settings for building to public to work:
+baseURL = '/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = "hugo-blog-awesome"
+relativeURLs = true