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

Contributors and Categories link in blog are not using baseUrl #1300

Open
j-catania opened this issue Oct 19, 2024 · 2 comments
Open

Contributors and Categories link in blog are not using baseUrl #1300

j-catania opened this issue Oct 19, 2024 · 2 comments

Comments

@j-catania
Copy link

Description

Contributors and Categories link in blog are not using baseUrl. So when using baseUrl, this two links are broken.

Steps to reproduce

Fix this in :

Expected result

Actual result

What happened.

Environment

when build like that : hugo --minify --baseURL=...

@j-catania
Copy link
Author

Hi @h-enk, any updates please ?

@h-enk
Copy link
Member

h-enk commented Nov 25, 2024

Hello, I cannot replicate your issue using for example npm run build -- --baseURL="http://192.168.1.2:4173/" && npm run preview -- --host.

What baseURL is failing for you?

BTW, I recommend setting baseurl in config/production/hugo.toml in stead of using --baseURL on the command line.

For more background see: urls.RelLangURL

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

3 participants
@h-enk @j-catania and others