I have content/_index.md for the text displayed on home page, and I want to add a Chinese version of it, so I did:
hugo new _index.zh.md
(I’ve also defined the language code in config.toml)
however when I run hugo server -D it complains about too many homes, I guess I can only have a single content/_index.md for the home page, rather than having multi-lingual versions of it?
Hi thanks! This is the content of content/_index.md:
---
title: "Huiimy"
date: 2017-11-05T08:57:48+11:00
draft: false
---
# Hui is my ninja
_Thoughts, flow far away and return on the wind of morning._
This is my personal website, it's newly generated by [Hugo](https://gohugo.io/) and I'll put up content soon.
But I don’t think it’s relevant, it works until I added another index to the content folder:
I had this message too
with: Hugo Static Site Generator v0.33 linux/amd64
I think It was cause because I had multiple times define title and description
it was as usual in config.toml
than I start the translation by adding the same variables in l18n/en.yaml and l18n/fr.yaml than the issue appear.
I think it I resolved it by simply removing the variable inside config.toml and manage them only through the translation (in the directory ./l18n/*)