🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
I'm building a Spanish-language site that will have only some of it's posts in English. I'm following the Academic documentation for multilingual (created content/en and content/es) support and I came up into errors if I didn't create a home/index.md file inside my content/en folder.
Building sites … ERROR 2020/04/16 14:16:04 Homepage not found or duplicate homepages detected for a localization! Add the home/ folder (especially /home/index.md) to each language's content folder. For example, your site should have a content/home/ folder containing index.md and your homepage sections, or for multi-language sites, content/en/home/ and content/zh/home/ etc. Refer to the 'Build Your Homepage' and 'Language' documentation at https://sourcethemes.com/academic/docs/ and the example homepage at https://github.com/gcushen/hugo-academic/tree/master/exampleSite/content/home/index.md .
I don't want to have an English homepage so copying the content/es/home to content/en/home solves the issue. However, the side effect is that now Hugo detects that the index is translated and shows the language picker in my homepage.
Would it be possible to enable multilingual support for some pages without having to also translate the homepage? (I apologise if I'm doing something wrong and this is already possible)
I'm building a Spanish-language site that will have only some of it's posts in English. I'm following the Academic documentation for multilingual (created
content/en
andcontent/es
) support and I came up into errors if I didn't create ahome/index.md
file inside mycontent/en
folder.I don't want to have an English homepage so copying the
content/es/home
tocontent/en/home
solves the issue. However, the side effect is that now Hugo detects that the index is translated and shows the language picker in my homepage.Would it be possible to enable multilingual support for some pages without having to also translate the homepage? (I apologise if I'm doing something wrong and this is already possible)