Replies: 7 comments 6 replies
-
Hello @shibumi this is not a blowfish issue... might be a problem with configuration on your side. I checked:
Not sure how you are configuring the DNS part of this, but if you change the base url config to the final site everything should work. The github pages one will break. Nothing here is related with the blowfish theme. You are trying to support two different deploys with the same URL. |
Beta Was this translation helpful? Give feedback.
-
Actually I tried that before. I tried adding the custom domain as baseURL
and putting a CNAME file in the gh-pages branch root directory.
The result is that the page at sre-muc.github.io/sremuc/ will break and the
new page at muc.sre.xyz will still be broken, because for some unknown
reason the index.html file will have wrong baseURLs.
If I set the following baseURL: "https://muc.sre.xyz" the index.html file
will inject "muc.sre.xyz" as path, hence I will run into wrong URLs like "
https://muc.sre.xyz/muc.sre.xyz/.../..ja
This doesn't seem to be Hugo or GitHub pages related for me, because many
other GitHub pages work fine with custom domain and Hugo.
Did ever try running your theme with a custom domain via gh-pages?
…On Thu, Nov 24, 2022, 23:12 Nuno Coração ***@***.***> wrote:
Hello @shibumi <https://github.com/shibumi> this is not a blowfish
issue... might be a problem with configuration on your side.
I checked:
1. Your config file seems to be correct and pointing to
https://sre-muc.github.io/sremuc/
2. The site in https://sre-muc.github.io/sremuc/ seems to be
displaying everything properly
3. https://muc.sre.xyz/ is pulling the files using the relative path
hence the problem
Not sure how you are configuring the DNS part of this, but if you change
the base url config to the final site everything should work. The github
pages one will break. Nothing here is related with the blowfish theme. You
are trying to support two different deploys with the same URL.
—
Reply to this email directly, view it on GitHub
<#271 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5H6VLUZWMVS7SJIT6A2RTWJ7R6NANCNFSM6AAAAAASKK2TNA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Please checkout the git commit history on the master branch of
GitHub.com/sre-muc/sremuc
You will see that I tried different constellations of baseURL and all of
that failed.
|
Beta Was this translation helpful? Give feedback.
-
Not sure I can do much here. Is there a way for me to check those DNS configs? From what I can see https://sre-muc.github.io/sremuc/ is working so all good with the base_url if you want to serve the site from a different URL it should also be fine. I am not sure what it's happening there. Two ideas:
you can check my repos and see all my different configs. My homepage is on github pages and in firebase with a custom domain (using different repos). Never try to do something like that nor am I really sure how it works. |
Beta Was this translation helpful? Give feedback.
-
Move this into discussions to check if someone can help |
Beta Was this translation helpful? Give feedback.
-
@nunocoracao do you have any idea why the "show more" button gives us a 404, even with everything configured correctly in our repository? https://sre-muc.github.io/sremuc/ I am still 100% sure something is either wrong with the theme or github pages is just buggy as hell. |
Beta Was this translation helpful? Give feedback.
-
showMoreLinkDest = "/events" in the params.toml -> add the /sremuc/events |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
We have deployed a new website (https://github.com/sre-muc/sremuc) with the blowfish theme.
The overall github pages configuration seems to be correct, but for some reason the path for all javascript files is wrong.
The page should be clearly visible on: https://muc.sre.xyz/
but when I look into the debugging tools I see a domain such like this one:
The interesting part is: https://muc.sre.xyz/muc.sre.xyz/....
is this some caching problem? The base URL seems to be wrong, but the configuration should be correct now.
To Reproduce
Expected behavior
The website should work out of the box
Hugo & Blowfish versions
Hugo: '0.105.0'
Beta Was this translation helpful? Give feedback.
All reactions