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

Hugo gets confused when multihost and all but one language is disabled #12288

Closed
bep opened this issue Mar 20, 2024 · 3 comments
Closed

Hugo gets confused when multihost and all but one language is disabled #12288

bep opened this issue Mar 20, 2024 · 3 comments

Comments

@bep
Copy link
Member

bep commented Mar 20, 2024

See https://discourse.gohugo.io/t/scss-broken-after-0-123/48937

@bep bep self-assigned this Mar 20, 2024
@bep bep added this to the v0.124.2 milestone Mar 20, 2024
@whyboris
Copy link

🙇 thank you for creating this issue. I'm the originator of the post on discourse - and my goal is to have a single codebase that builds several (different-language) websites (under different domains). I thought to build one at a time I had to disable all languages but one, but I see that I can build them all and simply go to public/en for English (full working website) and public/de for German - and everything seems to work 🥳

My build scripts did work better when I could build one language at a time by disableLanguages = ["es", "de"] - since all the files were in /public and I didn't have to move them from /public/en during the build (I'm also generating PDFs and static search via Pagefind) - so it is more convenient to build one language at a time (both PDF and Search tooling is easier to work with when there is a single website -- though I can complicate my script by changing ports manually and deleting subdirectories manually/with script).

tl;dr 🙇 thank you - please feel free to prioritize this issue as you see fit ❤️

p.s - my codebase: https://github.com/whyboris/utilitarianism.net

@bep
Copy link
Member Author

bep commented Mar 20, 2024

@whyboris it's an obvious bug and the fix should be simple.

@bep bep modified the milestones: v0.124.2, v0.126.0 Apr 17, 2024
@bep bep closed this as completed in babcb33 Apr 25, 2024
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants