Skip to content

Commit

Permalink
Merge pull request themefisher#183 from salim-b/move-menu
Browse files Browse the repository at this point in the history
Move footer menu definitions to content files
  • Loading branch information
mehedi-sharif authored Jul 20, 2021
2 parents aafd479 + 53fc446 commit a973a8f
Show file tree
Hide file tree
Showing 25 changed files with 76 additions and 128 deletions.
132 changes: 4 additions & 128 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -188,44 +188,13 @@ contentDir = "content/english"
weight = 1
copyright = "Copyright © 2021 [Themefisher](https://themefisher.com). All Rights Reserved."

# Main menu
# Navigation menus
# NOTE: Leaf entries linking to content should be defined in the content file's respective front matter.
[[languages.en.menu.main]]
hasChildren = true
name = "More"
weight = 5

# Footer menu
[[languages.en.menu.footer]]
name = "About"
URL = "about"
weight = 1

[[languages.en.menu.footer]]
name = "Project"
URL = "project"
weight = 2

[[languages.en.menu.footer]]
name = "Service"
URL = "service"
weight = 3

[[languages.en.menu.footer]]
name = "Pricing"
URL = "pricing"
weight = 4

[[languages.en.menu.footer]]
name = "FAQ"
URL = "faq"
weight = 5

[[languages.en.menu.footer]]
name = "Contact"
URL = "contact"
weight = 6


################################# French translation ##########################
[languages.fr]
Expand All @@ -235,44 +204,13 @@ contentDir = "content/french"
weight = 2
copyright = "Copyright © 2021 [Themefisher](https://themefisher.com). Tous droits réservés."

# Main menu
# Navigation menus
# NOTE: Leaf entries linking to content should be defined in the content file's respective front matter.
[[languages.fr.menu.main]]
hasChildren = true
weight = 5
name = "Plus"

# Footer menu
[[languages.fr.menu.footer]]
name = "À propos"
URL = "about"
weight = 1

[[languages.fr.menu.footer]]
name = "Projet"
URL = "project"
weight = 2

[[languages.fr.menu.footer]]
name = "Service"
URL = "service"
weight = 3

[[languages.fr.menu.footer]]
name = "Tarification"
URL = "pricing"
weight = 4

[[languages.fr.menu.footer]]
name = "Questions fréquentes"
URL = "faq"
weight = 5

[[languages.fr.menu.footer]]
name = "Contact"
URL = "contact"
weight = 6


################################# Italian translation ##########################
[languages.it]
Expand All @@ -282,44 +220,13 @@ contentDir = "content/italian"
weight = 2
copyright = "Copyright © 2021 [Themefisher](https://themefisher.com). Tutti i diritti riservati."

# Main menu
# Navigation menus
# NOTE: Leaf entries linking to content should be defined in the content file's respective front matter.
[[languages.it.menu.main]]
hasChildren = true
weight = 5
name = "Più"

# Footer menu
[[languages.it.menu.footer]]
name = "Chi siamo"
URL = "about"
weight = 1

[[languages.it.menu.footer]]
name = "Progetto"
URL = "project"
weight = 2

[[languages.it.menu.footer]]
name = "Servizio"
URL = "service"
weight = 3

[[languages.it.menu.footer]]
name = "Tariffazione"
URL = "pricing"
weight = 4

[[languages.it.menu.footer]]
name = "Domande frequenti"
URL = "faq"
weight = 5

[[languages.it.menu.footer]]
name = "Contatta"
URL = "contact"
weight = 6


################################# German translation ##########################
[languages.de]
Expand All @@ -329,40 +236,9 @@ contentDir = "content/german"
weight = 3
copyright = "Copyright © 2021 [Themefisher](https://themefisher.com). Alle Rechte vorbehalten."

# Main menu
# Navigation menus
# NOTE: Leaf entries linking to content should be defined in the content file's respective front matter.
[[languages.de.menu.main]]
hasChildren = true
name = "Mehr"
weight = 5

# Footer menu
[[languages.de.menu.footer]]
name = "Über uns"
URL = "about"
weight = 1

[[languages.de.menu.footer]]
name = "Projekt"
URL = "project"
weight = 2

[[languages.de.menu.footer]]
name = "Dienstleistung"
URL = "service"
weight = 3

[[languages.de.menu.footer]]
name = "Preise"
URL = "pricing"
weight = 4

[[languages.de.menu.footer]]
name = "Häufige Fragen"
URL = "faq"
weight = 5

[[languages.de.menu.footer]]
name = "Kontakt"
URL = "contact"
weight = 6
3 changes: 3 additions & 0 deletions exampleSite/content/english/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ menu:
main:
name: "About"
weight: 2
footer:
name: "About"
weight: 1


################################## About #####################################
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/english/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ menu:
main:
name: "Contact"
weight: 6
footer:
name: "Contact"
weight: 6
---
3 changes: 3 additions & 0 deletions exampleSite/content/english/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ menu:
parent: "More"
name: "FAQ"
weight: 3
footer:
name: "FAQ"
weight: 5
---

### Welcome to Airspace!
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/english/pricing.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ menu:
parent: "More"
name: "Pricing"
weight: 2
footer:
name: "Pricing"
weight: 4

################################ pricing ################################
pricing:
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/english/project/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ menu:
main:
name: "Project"
weight: 3
footer:
name: "Project"
weight: 2
---
3 changes: 3 additions & 0 deletions exampleSite/content/english/service.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ menu:
parent: "More"
name: "Service"
weight: 1
footer:
name: "Service"
weight: 3

########################### about service #############################
about:
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/french/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ menu:
main:
name: "À propos"
weight: 2
footer:
name: "À propos"
weight: 1


################################## About #####################################
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/french/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ menu:
main:
name: "Contact"
weight: 6
footer:
name: "Contact"
weight: 6
---
3 changes: 3 additions & 0 deletions exampleSite/content/french/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ menu:
parent: "Plus"
name: "Questions fréquentes"
weight: 3
footer:
name: "Questions fréquentes"
weight: 5
---

### Welcome to Airspace!
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/french/pricing.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ menu:
parent: "Plus"
name: "Tarification"
weight: 2
footer:
name: "Tarification"
weight: 4

################################ pricing ################################
pricing:
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/french/project/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ menu:
main:
name: "Projet"
weight: 3
footer:
name: "Projet"
weight: 2
---
3 changes: 3 additions & 0 deletions exampleSite/content/french/service.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ menu:
parent: "Plus"
name: "Service"
weight: 1
footer:
name: "Service"
weight: 3

########################### about service #############################
about:
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/german/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ menu:
main:
name: "Über uns"
weight: 2
footer:
name: "Über uns"
weight: 1


################################## About #####################################
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/german/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ menu:
main:
name: "Kontakt"
weight: 6
footer:
name: "Kontakt"
weight: 6
---
3 changes: 3 additions & 0 deletions exampleSite/content/german/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ menu:
parent: "Mehr"
name: "Häufige Fragen"
weight: 3
footer:
name: "Häufige Fragen"
weight: 5
---

### Welcome to Airspace!
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/german/pricing.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ menu:
parent: "Mehr"
name: "Preise"
weight: 2
footer:
name: "Preise"
weight: 4

################################ pricing ################################
pricing:
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/german/project/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ menu:
main:
name: "Projekt"
weight: 3
footer:
name: "Projekt"
weight: 2
---
3 changes: 3 additions & 0 deletions exampleSite/content/german/service.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ menu:
parent: "Mehr"
name: "Dienstleistung"
weight: 1
footer:
name: "Dienstleistung"
weight: 3

########################### about service #############################
about:
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/italian/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ menu:
main:
name: "Chi siamo"
weight: 2
footer:
name: "Chi siamo"
weight: 1


################################## About #####################################
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/italian/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ menu:
main:
name: "Contatta"
weight: 6
footer:
name: "Contatta"
weight: 6
---
3 changes: 3 additions & 0 deletions exampleSite/content/italian/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ menu:
parent: "More"
name: "Domande frequenti"
weight: 3
footer:
name: "Domande frequenti"
weight: 5
---

### Welcome to Airspace!
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/italian/pricing.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ menu:
parent: "More"
name: "Tariffazione"
weight: 2
footer:
name: "Tariffazione"
weight: 4

################################ pricing ################################
pricing:
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/italian/project/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ menu:
main:
name: "Progetto"
weight: 3
footer:
name: "Progetto"
weight: 2
---
Loading

0 comments on commit a973a8f

Please sign in to comment.