@@ -42,37 +42,37 @@ link = "plugins/google-map/map.js" | |||
############################# Navigation ################################## | |||
[[menu.main]] | |||
name = "About Us" | |||
name = "about" | |||
URL = "about" | |||
weight = 1 | |||
[[menu.main]] | |||
name = "Service" | |||
name = "services" | |||
URL = "services" | |||
weight = 2 | |||
[[menu.main]] | |||
name = "Portfolio" | |||
name = "portfolio" | |||
URL = "portfolio" | |||
weight = 3 | |||
[[menu.main]] | |||
name = "Team" | |||
name = "team" | |||
URL = "team" | |||
weight = 4 | |||
[[menu.main]] | |||
name = "Pricing" | |||
name = "pricing" | |||
URL = "pricing" | |||
weight = 5 | |||
[[menu.main]] | |||
name = "Blog" | |||
name = "blog" | |||
URL = "blog" | |||
weight = 6 | |||
[[menu.main]] | |||
name = "Contact" | |||
name = "contact" | |||
URL = "contact" | |||
weight = 7 | |||
@@ -148,4 +148,4 @@ languageCode = "fr-fr" | |||
contentDir = "content/french" | |||
weight = 2 | |||
home = "Accueil" | |||
copyright = "copyright et copie; 2019 [gethugothemes] (https://gethugothemes.com) tous droits réservés" | |||
copyright = "copyright et copie; 2019 [gethugothemes] (https://gethugothemes.com) tous droits réservés" |
@@ -13,4 +13,18 @@ | |||
- id: submit | |||
translation: Submit | |||
- id: all | |||
translation: All | |||
translation: All | |||
- id: about | |||
translation: About Us | |||
- id: services | |||
translation: Service | |||
- id: portfolio | |||
translation: Portfolio | |||
- id: team | |||
translation: Team | |||
- id: pricing | |||
translation: Pricing | |||
- id: blog | |||
translation: Blog | |||
- id: contact | |||
translation: Contact |
@@ -13,4 +13,18 @@ | |||
- id: submit | |||
translation: Soumettre | |||
- id: all | |||
translation: All | |||
translation: All | |||
- id: about | |||
translation: À propos | |||
- id: services | |||
translation: Services | |||
- id: portfolio | |||
translation: Portfolio | |||
- id: team | |||
translation: Équipe | |||
- id: pricing | |||
translation: Tarification | |||
- id: blog | |||
translation: Blog | |||
- id: contact | |||
translation: Contact |
@@ -18,20 +18,20 @@ | |||
<li class="nav-item"><a class="nav-link" href="#body">{{ .Site.Params.home }}</a></li> | |||
{{ if .IsHome }} | |||
{{ range .Site.Menus.main }} | |||
<li class="nav-item"><a class="nav-link" href="#{{ .URL }}">{{ .Name }}</a></li> | |||
<li class="nav-item"><a class="nav-link" href="#{{ .URL }}">{{ i18n .Name }}</a></li> | |||
{{ end }} | |||
{{ else }} | |||
{{ range .Site.Menus.main }} | |||
<li class="nav-item"><a class="nav-link" href="{{ $.Site.BaseURL | relLangURL }}#{{ .URL }}">{{ .Name }}</a> | |||
<li class="nav-item"><a class="nav-link" href="{{ $.Site.BaseURL | relLangURL }}#{{ .URL }}">{{ i18n .Name }}</a> | |||
</li> | |||
{{ end }} | |||
{{ end }} | |||
{{ range .Site.Menus.static }} | |||
<li class="nav-item"><a class="nav-link" target="_blank" href="{{ .URL }}">{{ .Name }}</a> | |||
<li class="nav-item"><a class="nav-link" target="_blank" href="{{ .URL }}">{{ i18n .Name }}</a> | |||
</li> | |||
{{ end }} | |||
@@ -60,4 +60,4 @@ | |||
</div> | |||
</nav> | |||
</div> | |||
</section> | |||
</section> |