Languages directories


#1

My content directory was looking like the following:

content/
    blogs/
       _index.md
       first.md

and in layouts i’ve the blogs/ directory which contains single.html, list.html files, but after moving everything in the content directory to be contained inside languages directory en/, fr/... nothing work as previous.


#2

I will be short here, as I suggest you read the documentation, but:

  • First level is automatically a section so if you want to organize your content logically (and still keep it in the blogs section), put it in /blogs/en etc. and not at the top level
  • Also see the multilingual feature in Hugo (see docs)