From d4708cc36312a9fd888101156039731c8f456cb8 Mon Sep 17 00:00:00 2001 From: kaimmej Date: Wed, 29 May 2024 16:13:45 -0700 Subject: [PATCH] Issue 2746: Remove breadcrumbs from all pages Created new include file for page title and removed references to "page-breadcrumbs-and-title" from all pages. Replaced with new page-title include file. Signed-off-by: kaimmej --- _includes/page-title.html | 9 +++++++++ _layouts/community_member.html | 3 +-- _layouts/event.html | 6 ------ _layouts/fullwidth-with-breadcrumbs.html | 3 +-- _layouts/platform-category.html | 3 +-- _layouts/platform-solution.html | 3 +-- _layouts/redesign-fullwidth.html | 3 +-- community/members/index.html | 1 + 8 files changed, 15 insertions(+), 16 deletions(-) create mode 100644 _includes/page-title.html diff --git a/_includes/page-title.html b/_includes/page-title.html new file mode 100644 index 0000000000..75df32f1cf --- /dev/null +++ b/_includes/page-title.html @@ -0,0 +1,9 @@ +
+
+ {% if include.primary_title %} +

{{ include.primary_title }}

+ {% elsif include.title %} +

{{ include.title }}

+ {% endif %} +
+
\ No newline at end of file diff --git a/_layouts/community_member.html b/_layouts/community_member.html index 49b1b8c444..e8ae94ee62 100644 --- a/_layouts/community_member.html +++ b/_layouts/community_member.html @@ -3,8 +3,7 @@ ---
- {% include page-breadcrumbs-and-title.html - breadcrumbs=page.breadcrumbs + {% include page-title.html primary_title=page.primary_title title=page.title %} diff --git a/_layouts/event.html b/_layouts/event.html index fa1f786eab..c5a9d7e1d5 100644 --- a/_layouts/event.html +++ b/_layouts/event.html @@ -1,11 +1,5 @@ --- layout: fullwidth-with-breadcrumbs -breadcrumbs: - icon: meetings-and-events - items: - - title: Community - - title: Events - url: /events/calendar/2023-12.html --- {% if page.hero_banner_image %} diff --git a/_layouts/fullwidth-with-breadcrumbs.html b/_layouts/fullwidth-with-breadcrumbs.html index 2ce977c628..2f39210051 100644 --- a/_layouts/fullwidth-with-breadcrumbs.html +++ b/_layouts/fullwidth-with-breadcrumbs.html @@ -8,8 +8,7 @@ {% endif %}
- {% include page-breadcrumbs-and-title.html - breadcrumbs=page.breadcrumbs + {% include page-title.html primary_title=page.primary_title title=page.title %} diff --git a/_layouts/platform-category.html b/_layouts/platform-category.html index 7f91bb2473..9788572541 100644 --- a/_layouts/platform-category.html +++ b/_layouts/platform-category.html @@ -8,8 +8,7 @@ {% endif %}
- {% include page-breadcrumbs-and-title.html - breadcrumbs=page.breadcrumbs + {% include page-title.html primary_title=page.primary_title title=page.title %} diff --git a/_layouts/platform-solution.html b/_layouts/platform-solution.html index ba8c703029..2e539ed30c 100644 --- a/_layouts/platform-solution.html +++ b/_layouts/platform-solution.html @@ -9,8 +9,7 @@ {% include opensearch-button.html %}
- {% include page-breadcrumbs-and-title.html - breadcrumbs=page.breadcrumbs + {% include page-title.html primary_title=page.primary_title title=page.title %} diff --git a/_layouts/redesign-fullwidth.html b/_layouts/redesign-fullwidth.html index b59651cf68..3f73ffa1bd 100644 --- a/_layouts/redesign-fullwidth.html +++ b/_layouts/redesign-fullwidth.html @@ -8,8 +8,7 @@ {% endif %}
- {% include page-breadcrumbs-and-title.html - breadcrumbs=page.breadcrumbs + {% include page-title.html primary_title=page.primary_title title=page.title %} diff --git a/community/members/index.html b/community/members/index.html index 022ac47e73..819d8120b2 100644 --- a/community/members/index.html +++ b/community/members/index.html @@ -2,6 +2,7 @@ layout: fullwidth-with-breadcrumbs title: Member Directory primary_title: Member Directory + breadcrumbs: icon: community items: