How to translate only a subset of the pages?
My project has the following content structure: project/ └── content/ ├── subpage/ │ ├── _index.fr.md │ └── _index.md └── _index.md And these are my language settings in the .config.yml: languageCode:...
View ArticleHow to translate only a subset of the pages?
I moved this to #support. Please read Requesting Help and share your code to get more folks helping you. Read full topic
View ArticleHow to translate only a subset of the pages?
@maiki thank you! I read the help section and I managed to reproduce the problem in a very minimal Hugo setup: https://github.com/nop33/hugo-minimal-setup Read full topic
View ArticleHow to translate only a subset of the pages?
I have to admin, I am quite disappointed with the feedback here https://github.com/gohugoio/hugo/issues/5195 Read full topic
View ArticleHow to translate only a subset of the pages?
It seems that your only option would be to use 301 redirects for the unwanted public/fr/index.html Unless you choose to have the root /index.html translated as well. Your issue is also relevant to the...
View ArticleHow to translate only a subset of the pages?
I dealt with this by checking the word count of the first translation before rendering the translation menu. {{ if .IsTranslated }} {{ if gt (index .Translations 0).WordCount 0 }} <nav...
View Article