-
Hi! I'm a newbie in Hugo and in web development but sooner or later I've to start! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I recommend copying the cp -r content/en content/it And then put the following configurations in [it]
languageName = "Italian"
weight = 2
contentDir = "content/it"
[it.params] # override the default parameters
dateFormat = "02-01-2006"
description = "Site description"
keywords = "Site keywords"
# ... Now, you can access your new language page after restarting hugo server or rebuilding your site. http://localhost:1313/it/ by default. The last step is that to remove the needless posts, and create a new post.
What is next?
|
Beta Was this translation helpful? Give feedback.
I recommend copying the
content/en
for getting to start, because this theme requires some predefined pages for turning their features on, such as search, archive, offline etc.And then put the following configurations in
config/_default/languages.toml
.Now, you can access your new language page after restarting hugo server or rebuilding your site. http://localhost:1313/it/ by default.
T…