From 11ebbc1cb1e8c4ed4bfa3beeed58facd07bf2ee5 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Wed, 6 Mar 2019 06:39:16 +0000 Subject: [PATCH] Update carousel to show all appropriate articles Ensure that if articles are written by more than one author, both authors are compared to each article individually --- _includes/article-carousel.html | 82 ++++++++++++++++++--------------- _site/sitemap.xml | 4 +- 2 files changed, 46 insertions(+), 40 deletions(-) diff --git a/_includes/article-carousel.html b/_includes/article-carousel.html index 331b99b..744a3fc 100644 --- a/_includes/article-carousel.html +++ b/_includes/article-carousel.html @@ -2,49 +2,55 @@ {% assign article_list_displayed = false %} {% for article in site.categories.articles %} {% if article.url != page.url %} - {% for author in article.authors %} - {% for current_author in page.authors %} - {% if author == current_author %} - {% if article_list_displayed == false %} -

- {% if page.authors.first %} - Other Articles By These Authors - {% else %} - Other Articles By This Author - {% endif %} -

- -