From 252357c589aae46469b5ec8dfd402059d7e435f1 Mon Sep 17 00:00:00 2001 From: Jared Bain <95373917+jaredbain@users.noreply.github.com> Date: Tue, 3 Dec 2024 16:56:35 -0500 Subject: [PATCH] Fellow Page Breadcrumb (#597) * create PR for fellow page breadcrumb * Add breadcrumb to fellow pages * fix navigation arrow * update url * Add no results found to fellow filters * add alt to breadcrumb links * remove period --- _includes/fellows-list.html | 8 +++++++- _layouts/fellow.html | 23 ++++++++++++++++++++++- _sass/pages/_fellows.scss | 4 ++++ assets/images/icons/navigate_next.svg | 1 + 4 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 assets/images/icons/navigate_next.svg diff --git a/_includes/fellows-list.html b/_includes/fellows-list.html index c5c36b17f..18b51cadb 100644 --- a/_includes/fellows-list.html +++ b/_includes/fellows-list.html @@ -1,4 +1,6 @@ {% assign aria_id = fellow.title | url_encode | truncate: 15, "" %} + +{% if paginator.posts.size > 0 %} {% for fellow in paginator.posts %}
@@ -22,5 +24,9 @@

{{ fellow.title }}

{% endfor %} - +{% else %} +
+

No results found

+
+{% endif %} diff --git a/_layouts/fellow.html b/_layouts/fellow.html index fdce0e048..ffde1ddd0 100644 --- a/_layouts/fellow.html +++ b/_layouts/fellow.html @@ -12,6 +12,27 @@
{% include fellow-aside.html fellow_project=page.project fellow_agency=page.agency fellow_year=page.fellow_year fellow_hometown=page.hometown fellow_track=page.track fellow_education=page.university %}
+ +
+ +
+

{{page.title}}