Help building a local site with relativeURL #1140
Unanswered
primercuervo
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@nunocoracao do you perhaps have any suggestions about this usecase? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the scenario
I would like to create a local website for display using the blowfish template. According to the docs about hosting
So I tried doing so, but the
index.html
doesn't show as expected.Steps to reproduce
git submodule update --init
{REPO}/config/_default/config.toml
relativeURLs = true
uglyURLs = true
hugo
commandExpected result
I expected to see the website just as it shows with

hugo server --disableFastRender
Actual result
the CSS is being blocked by the browsers. Tried in both Chrome and Firefox:

Following errors are showing up in the console:
Unfortunately, I'm not versed on website development, and thought of setting this kind of page for a familiar project. The result I get with
hugo serve
fulfills all our expectations (thanks a lot for this template!), but we're limited in knowledge how to make the local page work without a server command. I have been searching online for a solution but haven't found a consistent answer. Some suggest that I modify the template to remove all integrity checks, but I'm not certain this is recommended.Any help would be highly appreciated.
hugo version: v0.121.1-00b46fed8e47f7bb0a85d7cfc2d9f1356379b740+extended linux/amd64 BuildDate=2023-12-08T08:47:45Z VendorInfo=gohugoio
Blowfish version: v2.48.0
Beta Was this translation helpful? Give feedback.
All reactions