Fetch menus from YAML
This commit is contained in:
parent
7a4c8fd24b
commit
045c2e3495
6 changed files with 23 additions and 19 deletions
|
@ -30,15 +30,6 @@ DefaultContentLanguage = "en"
|
|||
[languages.en.params]
|
||||
home = '/'
|
||||
madeWith = '[Feito de pedra](/posts/sites-de-pedra)' # You can use markdown here if you want to link somewhere
|
||||
[languages.en.menu]
|
||||
[[languages.en.menu.main]]
|
||||
name = 'Home'
|
||||
url = '/'
|
||||
weight = 1
|
||||
[[languages.en.menu.main]]
|
||||
name = 'Blog'
|
||||
url = '/blog'
|
||||
weight = 2
|
||||
[languages.pt]
|
||||
title = "Site Exemplo"
|
||||
languageName = "Português 🇧🇷"
|
||||
|
@ -47,15 +38,6 @@ DefaultContentLanguage = "en"
|
|||
[languages.pt.params]
|
||||
home = '/pt'
|
||||
madeWith = '[Feito de pedra](/posts/sites-de-pedra)' # You can use markdown here if you want to link somewhere
|
||||
[languages.pt.menu]
|
||||
[[languages.pt.menu.main]]
|
||||
name = 'Home'
|
||||
url = '/pt'
|
||||
weight = 1
|
||||
[[languages.pt.menu.main]]
|
||||
name = 'Blog'
|
||||
url = '/pt/blog'
|
||||
weight = 2
|
||||
|
||||
[params]
|
||||
# The "description" of your website. This is used in the meta data of your generated html.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue