CaiJimmy / hugo-theme-stack-starter

A quickstart template to create a Hugo blog using hugo-theme-stack
https://demo.stack.jimmycai.com
MIT License
305 stars 105 forks source link

Github Pages Error #23

Closed Simon-Losier closed 11 months ago

Simon-Losier commented 1 year ago

When running 'hugo sever` or deploying it in github pages, it gives me this error:

Run hugo --minify --gc
Total in 1 ms
Error: failed to create config from result: failed to decode "languages": no languages configured
Error: Process completed with exit code 1.

I managed to fix the build by enabeling multi languge support in config/_default/languages.toml

May I suggest adding that to the README.md or changing the languges.toml file to automatically have a language configured.

Lemonawa commented 1 year ago

I deleted languages.toml and it ran successfully.

CaiJimmy commented 11 months ago

Should be fixed with https://github.com/CaiJimmy/hugo-theme-stack-starter/commit/aab65974e976e97419af742f19b7098338842b9f

Thanks!