Add example site with multiple lanaguges

This commit is contained in:
Michal Pasierbski 2020-05-24 18:07:34 +02:00
parent 3f5dced32f
commit 0c40eb4ab7
20 changed files with 787 additions and 0 deletions

View file

@ -0,0 +1,59 @@
baseURL = "https://example.com"
languageCode = "en-us"
defaultContentLanguage = "en"
title = "Anubis"
theme = "anubis"
paginate = 3
disqusShortname = ""
googleAnalytics = ""
[author]
name = "Dmitry Kolosov"
[params]
author = "Dmitry Kolosov"
description = "Anubis is a simple minimalist theme for Hugo blog engine."
[languages.en]
[[menu.main]]
identifier = "about"
name = "About"
url = "/about/"
weight = 1
[[menu.main]]
identifier = "tags"
name = "Tags"
url = "/tags/"
weight = 2
[[menu.main]]
name = "Archive"
identifier = "archive"
url = "/posts/"
weight = 3
[[languages.pl.menu.main]]
identifier = "about"
name = "O Hugo"
url = "/about/"
weight = 1
[[languages.pl.menu.main]]
identifier = "tags"
name = "Tagi"
url = "/tags/"
weight = 2
[[languages.pl.menu.main]]
identifier = "archive"
name = "Archiwum"
url = "/posts/"
weight = 3
[taxonomies]
category = "categories"
tag = "tags"
series = "series"