thuliteio / doks

Everything you need to build a stellar documentation website. Fast, accessible, and easy to use.
https://getdoks.org
MIT License
2.12k stars 364 forks source link

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

Open j-catania opened 1 month ago

j-catania commented 1 month ago

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 commented 1 week ago

Hi @h-enk, any updates please ?

h-enk commented 1 week ago

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