Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/airspace-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalim B <salim@posteo.de>2021-07-06 16:13:19 +0300
committerSalim B <salim@posteo.de>2021-07-06 16:13:19 +0300
commit53fc44612f61e8f479be9fd634ffaaf93e510d05 (patch)
treea3016642a931c8ae6f2bd25d17ec086182d9d70f /exampleSite
parent9a4b529f043f21c2ac589c3c530f591f6e199800 (diff)
Move footer menu definitions to content files
This simplifies menu adjustments since the content and its menu entries are now all found in the same place. E.g. you can now simply set `draft = true` in a specific content file and all its menu entries will automatically be disabled (i.e. have draft status), too. Cf. #149
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml132
-rw-r--r--exampleSite/content/english/about.md3
-rw-r--r--exampleSite/content/english/contact.md3
-rw-r--r--exampleSite/content/english/faq.md3
-rw-r--r--exampleSite/content/english/pricing.md3
-rw-r--r--exampleSite/content/english/project/_index.md3
-rw-r--r--exampleSite/content/english/service.md3
-rw-r--r--exampleSite/content/french/about.md3
-rw-r--r--exampleSite/content/french/contact.md3
-rw-r--r--exampleSite/content/french/faq.md3
-rw-r--r--exampleSite/content/french/pricing.md3
-rw-r--r--exampleSite/content/french/project/_index.md3
-rw-r--r--exampleSite/content/french/service.md3
-rw-r--r--exampleSite/content/german/about.md3
-rw-r--r--exampleSite/content/german/contact.md3
-rw-r--r--exampleSite/content/german/faq.md3
-rw-r--r--exampleSite/content/german/pricing.md3
-rw-r--r--exampleSite/content/german/project/_index.md3
-rw-r--r--exampleSite/content/german/service.md3
-rw-r--r--exampleSite/content/italian/about.md3
-rw-r--r--exampleSite/content/italian/contact.md3
-rw-r--r--exampleSite/content/italian/faq.md3
-rw-r--r--exampleSite/content/italian/pricing.md3
-rw-r--r--exampleSite/content/italian/project/_index.md3
-rw-r--r--exampleSite/content/italian/service.md3
25 files changed, 76 insertions, 128 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 3623805..4c5e731 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -182,44 +182,13 @@ contentDir = "content/english"
weight = 1
copyright = "Copyright &copy; 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]
@@ -229,44 +198,13 @@ contentDir = "content/french"
weight = 2
copyright = "Copyright &copy; 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]
@@ -276,44 +214,13 @@ contentDir = "content/italian"
weight = 2
copyright = "Copyright &copy; 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]
@@ -323,40 +230,9 @@ contentDir = "content/german"
weight = 3
copyright = "Copyright &copy; 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
diff --git a/exampleSite/content/english/about.md b/exampleSite/content/english/about.md
index 0ca7694..681ce0e 100644
--- a/exampleSite/content/english/about.md
+++ b/exampleSite/content/english/about.md
@@ -8,6 +8,9 @@ menu:
main:
name: "About"
weight: 2
+ footer:
+ name: "About"
+ weight: 1
################################## About #####################################
diff --git a/exampleSite/content/english/contact.md b/exampleSite/content/english/contact.md
index 47ccf87..a65456e 100644
--- a/exampleSite/content/english/contact.md
+++ b/exampleSite/content/english/contact.md
@@ -8,4 +8,7 @@ menu:
main:
name: "Contact"
weight: 6
+ footer:
+ name: "Contact"
+ weight: 6
---
diff --git a/exampleSite/content/english/faq.md b/exampleSite/content/english/faq.md
index e0151d1..f3b4c4c 100644
--- a/exampleSite/content/english/faq.md
+++ b/exampleSite/content/english/faq.md
@@ -11,6 +11,9 @@ menu:
parent: "More"
name: "FAQ"
weight: 3
+ footer:
+ name: "FAQ"
+ weight: 5
---
### Welcome to Airspace!
diff --git a/exampleSite/content/english/pricing.md b/exampleSite/content/english/pricing.md
index 064d427..6c5039c 100644
--- a/exampleSite/content/english/pricing.md
+++ b/exampleSite/content/english/pricing.md
@@ -9,6 +9,9 @@ menu:
parent: "More"
name: "Pricing"
weight: 2
+ footer:
+ name: "Pricing"
+ weight: 4
################################ pricing ################################
pricing:
diff --git a/exampleSite/content/english/project/_index.md b/exampleSite/content/english/project/_index.md
index fcff347..580d529 100644
--- a/exampleSite/content/english/project/_index.md
+++ b/exampleSite/content/english/project/_index.md
@@ -7,4 +7,7 @@ menu:
main:
name: "Project"
weight: 3
+ footer:
+ name: "Project"
+ weight: 2
---
diff --git a/exampleSite/content/english/service.md b/exampleSite/content/english/service.md
index 4b5a12c..a924bde 100644
--- a/exampleSite/content/english/service.md
+++ b/exampleSite/content/english/service.md
@@ -9,6 +9,9 @@ menu:
parent: "More"
name: "Service"
weight: 1
+ footer:
+ name: "Service"
+ weight: 3
########################### about service #############################
about:
diff --git a/exampleSite/content/french/about.md b/exampleSite/content/french/about.md
index d686c5c..2c523c4 100644
--- a/exampleSite/content/french/about.md
+++ b/exampleSite/content/french/about.md
@@ -8,6 +8,9 @@ menu:
main:
name: "À propos"
weight: 2
+ footer:
+ name: "À propos"
+ weight: 1
################################## About #####################################
diff --git a/exampleSite/content/french/contact.md b/exampleSite/content/french/contact.md
index 47ccf87..a65456e 100644
--- a/exampleSite/content/french/contact.md
+++ b/exampleSite/content/french/contact.md
@@ -8,4 +8,7 @@ menu:
main:
name: "Contact"
weight: 6
+ footer:
+ name: "Contact"
+ weight: 6
---
diff --git a/exampleSite/content/french/faq.md b/exampleSite/content/french/faq.md
index b2cc742..ee38d2e 100644
--- a/exampleSite/content/french/faq.md
+++ b/exampleSite/content/french/faq.md
@@ -11,6 +11,9 @@ menu:
parent: "Plus"
name: "Questions fréquentes"
weight: 3
+ footer:
+ name: "Questions fréquentes"
+ weight: 5
---
### Welcome to Airspace!
diff --git a/exampleSite/content/french/pricing.md b/exampleSite/content/french/pricing.md
index cd90db9..667a4b3 100644
--- a/exampleSite/content/french/pricing.md
+++ b/exampleSite/content/french/pricing.md
@@ -9,6 +9,9 @@ menu:
parent: "Plus"
name: "Tarification"
weight: 2
+ footer:
+ name: "Tarification"
+ weight: 4
################################ pricing ################################
pricing:
diff --git a/exampleSite/content/french/project/_index.md b/exampleSite/content/french/project/_index.md
index bfd989a..12de4c4 100644
--- a/exampleSite/content/french/project/_index.md
+++ b/exampleSite/content/french/project/_index.md
@@ -7,4 +7,7 @@ menu:
main:
name: "Projet"
weight: 3
+ footer:
+ name: "Projet"
+ weight: 2
---
diff --git a/exampleSite/content/french/service.md b/exampleSite/content/french/service.md
index ebc57c6..f3b50f0 100644
--- a/exampleSite/content/french/service.md
+++ b/exampleSite/content/french/service.md
@@ -9,6 +9,9 @@ menu:
parent: "Plus"
name: "Service"
weight: 1
+ footer:
+ name: "Service"
+ weight: 3
########################### about service #############################
about:
diff --git a/exampleSite/content/german/about.md b/exampleSite/content/german/about.md
index d7d957c..6851380 100644
--- a/exampleSite/content/german/about.md
+++ b/exampleSite/content/german/about.md
@@ -8,6 +8,9 @@ menu:
main:
name: "Über uns"
weight: 2
+ footer:
+ name: "Über uns"
+ weight: 1
################################## About #####################################
diff --git a/exampleSite/content/german/contact.md b/exampleSite/content/german/contact.md
index 4c4c886..1a2d047 100644
--- a/exampleSite/content/german/contact.md
+++ b/exampleSite/content/german/contact.md
@@ -8,4 +8,7 @@ menu:
main:
name: "Kontakt"
weight: 6
+ footer:
+ name: "Kontakt"
+ weight: 6
---
diff --git a/exampleSite/content/german/faq.md b/exampleSite/content/german/faq.md
index ddfcbf1..b68b8cc 100644
--- a/exampleSite/content/german/faq.md
+++ b/exampleSite/content/german/faq.md
@@ -11,6 +11,9 @@ menu:
parent: "Mehr"
name: "Häufige Fragen"
weight: 3
+ footer:
+ name: "Häufige Fragen"
+ weight: 5
---
### Welcome to Airspace!
diff --git a/exampleSite/content/german/pricing.md b/exampleSite/content/german/pricing.md
index a8c351c..b15afb7 100644
--- a/exampleSite/content/german/pricing.md
+++ b/exampleSite/content/german/pricing.md
@@ -9,6 +9,9 @@ menu:
parent: "Mehr"
name: "Preise"
weight: 2
+ footer:
+ name: "Preise"
+ weight: 4
################################ pricing ################################
pricing:
diff --git a/exampleSite/content/german/project/_index.md b/exampleSite/content/german/project/_index.md
index 0a93105..77730ad 100644
--- a/exampleSite/content/german/project/_index.md
+++ b/exampleSite/content/german/project/_index.md
@@ -7,4 +7,7 @@ menu:
main:
name: "Projekt"
weight: 3
+ footer:
+ name: "Projekt"
+ weight: 2
---
diff --git a/exampleSite/content/german/service.md b/exampleSite/content/german/service.md
index 5b77415..35a7898 100644
--- a/exampleSite/content/german/service.md
+++ b/exampleSite/content/german/service.md
@@ -9,6 +9,9 @@ menu:
parent: "Mehr"
name: "Dienstleistung"
weight: 1
+ footer:
+ name: "Dienstleistung"
+ weight: 3
########################### about service #############################
about:
diff --git a/exampleSite/content/italian/about.md b/exampleSite/content/italian/about.md
index 23b6ff4..b8195d8 100644
--- a/exampleSite/content/italian/about.md
+++ b/exampleSite/content/italian/about.md
@@ -8,6 +8,9 @@ menu:
main:
name: "Chi siamo"
weight: 2
+ footer:
+ name: "Chi siamo"
+ weight: 1
################################## About #####################################
diff --git a/exampleSite/content/italian/contact.md b/exampleSite/content/italian/contact.md
index 1dfb5be..c5612ee 100644
--- a/exampleSite/content/italian/contact.md
+++ b/exampleSite/content/italian/contact.md
@@ -8,4 +8,7 @@ menu:
main:
name: "Contatta"
weight: 6
+ footer:
+ name: "Contatta"
+ weight: 6
---
diff --git a/exampleSite/content/italian/faq.md b/exampleSite/content/italian/faq.md
index fbe870d..37af9e8 100644
--- a/exampleSite/content/italian/faq.md
+++ b/exampleSite/content/italian/faq.md
@@ -11,6 +11,9 @@ menu:
parent: "More"
name: "Domande frequenti"
weight: 3
+ footer:
+ name: "Domande frequenti"
+ weight: 5
---
### Welcome to Airspace!
diff --git a/exampleSite/content/italian/pricing.md b/exampleSite/content/italian/pricing.md
index d0b6395..a688c04 100644
--- a/exampleSite/content/italian/pricing.md
+++ b/exampleSite/content/italian/pricing.md
@@ -9,6 +9,9 @@ menu:
parent: "More"
name: "Tariffazione"
weight: 2
+ footer:
+ name: "Tariffazione"
+ weight: 4
################################ pricing ################################
pricing:
diff --git a/exampleSite/content/italian/project/_index.md b/exampleSite/content/italian/project/_index.md
index 7821ef4..7aa265a 100644
--- a/exampleSite/content/italian/project/_index.md
+++ b/exampleSite/content/italian/project/_index.md
@@ -7,4 +7,7 @@ menu:
main:
name: "Progetto"
weight: 3
+ footer:
+ name: "Progetto"
+ weight: 2
---
diff --git a/exampleSite/content/italian/service.md b/exampleSite/content/italian/service.md
index 6c717ea..a639b59 100644
--- a/exampleSite/content/italian/service.md
+++ b/exampleSite/content/italian/service.md
@@ -9,6 +9,9 @@ menu:
parent: "More"
name: "Servizio"
weight: 1
+ footer:
+ name: "Servizio"
+ weight: 3
########################### about service #############################
about: