theNewDynamic / gohugo-theme-ananke

Ananke: A theme for Hugo Sites
https://gohugo-ananke-theme-demo.netlify.com/
MIT License
1.1k stars 1.13k forks source link

How can I create content for the second language of my site using hugo command #563

Closed 4strodev closed 2 years ago

4strodev commented 2 years ago

I'm making a site that will use english and spanish. English will be the first language of the site. When I use hugo new <anything> hugo creates the content insite the english folder. I would like to create the content also for spanish without copying files manually. How can I make content for spanish version only using hugo new.

budparr commented 2 years ago

Hi, @4strodev. Hugo new is directory specific, so you have to put the content where you want it: https://gohugo.io/content-management/multilingual/#translate-your-content