Skip to content
Discussion options

You must be logged in to vote

Assumed that you followed the installation guide.

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.

cp -r content/en content/it

And then put the following configurations in config/_default/languages.toml.

[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.

T…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by razonyang
Comment options

You must be logged in to vote
2 replies
@razonyang
Comment options

@martijnvandenboom
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants