Browse Source

added multilingual navigation

master
somratpro 4 years ago
parent
commit
84aca3fd5e
1 changed files with 59 additions and 9 deletions
  1. 59
    9
      exampleSite/config.toml

+ 59
- 9
exampleSite/config.toml View File

[[params.plugins.js]] [[params.plugins.js]]
link = "plugins/google-map/map.js" link = "plugins/google-map/map.js"


############################# Navigation ##################################
[[menu.main]]
################### English Navigation ########################
[[Languages.en.menu.main]]
name = "about" name = "about"
pre = "#" pre = "#"
url = "about" url = "about"
weight = 1 weight = 1


[[menu.main]]
[[Languages.en.menu.main]]
name = "services" name = "services"
pre = "#" pre = "#"
url = "services" url = "services"
weight = 2 weight = 2


[[menu.main]]
[[Languages.en.menu.main]]
name = "portfolio" name = "portfolio"
pre = "#" pre = "#"
url = "portfolio" url = "portfolio"
weight = 3 weight = 3


[[menu.main]]
[[Languages.en.menu.main]]
name = "team" name = "team"
pre = "#" pre = "#"
url = "team" url = "team"
weight = 4 weight = 4


[[menu.main]]
[[Languages.en.menu.main]]
name = "pricing" name = "pricing"
pre = "#" pre = "#"
url = "pricing" url = "pricing"
weight = 5 weight = 5


[[menu.main]]
[[Languages.en.menu.main]]
name = "blog" name = "blog"
pre = "#" pre = "#"
url = "blog" url = "blog"
weight = 6 weight = 6


[[menu.main]]
[[Languages.en.menu.main]]
name = "contact" name = "contact"
pre = "#" pre = "#"
url = "contact" url = "contact"
weight = 7 weight = 7


[[menu.main]]
[[Languages.en.menu.main]]
name = "themefisher"
pre = ""
url = "https://themefisher.com/"
weight = 8


################### French Navigation ########################
[[Languages.fr.menu.main]]
name = "sur"
pre = "#"
url = "about"
weight = 1

[[Languages.fr.menu.main]]
name = "un service"
pre = "#"
url = "services"
weight = 2

[[Languages.fr.menu.main]]
name = "portefeuille"
pre = "#"
url = "portfolio"
weight = 3

[[Languages.fr.menu.main]]
name = "équipe"
pre = "#"
url = "team"
weight = 4

[[Languages.fr.menu.main]]
name = "tarification"
pre = "#"
url = "pricing"
weight = 5

[[Languages.fr.menu.main]]
name = "blog"
pre = "#"
url = "blog"
weight = 6

[[Languages.fr.menu.main]]
name = "contact"
pre = "#"
url = "contact"
weight = 7

[[Languages.fr.menu.main]]
name = "themefisher" name = "themefisher"
pre = "" pre = ""
url = "https://themefisher.com/" url = "https://themefisher.com/"

Loading…
Cancel
Save