Greetings!
I have a Hugo website with 2 languages, English and Slovenian. There are a few lists, each of whom has it’s own template for list and single page. The English content knows which layout to use because it has the same name, but Slovenian doesn’t. How do I set that? Content is connected with translationKey
, I was hoping that would solve it, but it doesn’t.
This is a simplified structure:
content
- en
- - about-us
- - - _index.md
- - work
- - - _index.md
- - - some-project
- - - - _index.md
- sl
- - o-nas
- - - index.md
- - projekti
- - - index.md
- - - primer-projekta
- - - - _index.md
layouts
- about-us
- - list
- projects
- - list
- - single
thanks for your help!