From 632032ef94316f7303e3e45aa10219630bc0adbb Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 4 Jan 2023 14:03:03 -0600 Subject: [PATCH] fixing duplicate menu entries --- config/_default/menus.en.toml | 13 +++++++++---- content/about/index.md | 3 --- content/contact.md | 3 --- content/donate.md | 4 ---- content/groups/_index.md | 3 --- content/ministries/_index.md | 3 --- content/staff/_index.md | 3 --- 7 files changed, 9 insertions(+), 23 deletions(-) diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml index 654cf29..afdd9cd 100644 --- a/config/_default/menus.en.toml +++ b/config/_default/menus.en.toml @@ -20,20 +20,25 @@ pageRef = "ministries" weight = 20 +[[main]] + name = "Groups" + pageRef = "groups" + weight = 30 + [[main]] name = "Staff" pageRef = "staff" - weight = 30 + weight = 40 [[main]] name = "Donate" pageRef = "donate" - weight = 40 + weight = 50 [[main]] name = "Contact" pageRef = "contact" - weight = 50 + weight = 60 # -- Footer Menu -- # The footer menu is displayed at the bottom of the page, just before @@ -55,4 +60,4 @@ pre = "instagram" name = "Instagram" url = "https://instagram.com/tfcconnection" - weight = 30 \ No newline at end of file + weight = 30 diff --git a/content/about/index.md b/content/about/index.md index 8bb724c..418a499 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -10,9 +10,6 @@ showEdit: false showTaxonomies: true sharingLinks: false layout: simple -menu: - main: - weight: 10 --- _TFC Connection_ (TFC) is a rural ministry reaching out to the mission field of teenagers in rural communities across Northwest Kansas and Southwest Nebraska. In rural communities where youth ministry programs and resources are limited, TFC desires to partner with churches to meet this need. Whether this is through providing community youth groups, coaching those already working with youth, or supplying resources and extra curricular activities for area ministries, TFC desires to connect teens with the truth of Jesus Christ and equip them to live out the Great Commission. diff --git a/content/contact.md b/content/contact.md index 1aecf47..ea3c2a8 100644 --- a/content/contact.md +++ b/content/contact.md @@ -1,8 +1,5 @@ --- title: Contact -menu: - main: - weight: 60 featured_image: '' omit_header_text: true description: We'd love to hear from you diff --git a/content/donate.md b/content/donate.md index 8b7da7a..f14efb9 100644 --- a/content/donate.md +++ b/content/donate.md @@ -2,16 +2,12 @@ title: Donate featured_image: '' omit_header_text: true -menu: main showHero: false showEdit: false showDate: false showTableOfContents: false sharingLinks: false layout: "simple" -menu: - main: - weight: 50 --- {{< donate >}} diff --git a/content/groups/_index.md b/content/groups/_index.md index aa9040e..d5604ea 100644 --- a/content/groups/_index.md +++ b/content/groups/_index.md @@ -1,9 +1,6 @@ --- title: "Groups" date: 2022-10-28T10:21:38-05:00 -menu: - main: - weight: 30 tags: [] featured_image: "" description: "" diff --git a/content/ministries/_index.md b/content/ministries/_index.md index 48295b9..a131899 100644 --- a/content/ministries/_index.md +++ b/content/ministries/_index.md @@ -1,9 +1,6 @@ --- title: "Ministries" date: 2017-03-02T12:00:00-05:00 -menu: - main: - weight: 20 layout: list cascade: showReadingTime: false diff --git a/content/staff/_index.md b/content/staff/_index.md index b6ef8e2..c76e434 100644 --- a/content/staff/_index.md +++ b/content/staff/_index.md @@ -1,9 +1,6 @@ --- title: "Staff" date: 2017-03-02T12:00:00-05:00 -menu: - main: - weight: 40 featured_image: "img/staff.jpg" groupByYear: false cascade: