Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only working on server mode, building static breaks app #135

Closed
y0nei opened this issue Oct 12, 2023 · 1 comment
Closed

Only working on server mode, building static breaks app #135

y0nei opened this issue Oct 12, 2023 · 1 comment

Comments

@y0nei
Copy link

y0nei commented Oct 12, 2023

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

  1. Just run hugo --minify instead of setting up a server
  2. Open the index.html and check network tab, no css loads

Device information
Irrelevant

@y0nei
Copy link
Author

y0nei commented Oct 13, 2023

Required settings for building to public to work:

+baseURL = '/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = "hugo-blog-awesome"
+relativeURLs = true

@y0nei y0nei closed this as completed Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant