diff --git a/_includes/article-carousel.html b/_includes/article-carousel.html index 744a3fc..5bbe2b6 100644 --- a/_includes/article-carousel.html +++ b/_includes/article-carousel.html @@ -4,13 +4,15 @@ {% if article.url != page.url %} {% assign authors = article.authors | split: ", " %} {% for author in authors %} - {% if article.date | date: "%Y" == page.date | date: "%Y" %} + {% assign article_date = article.date | date: "%Y" %} + {% assign current_article_date = page.date | date: "%Y" %} + {% if article_date == current_article_date %} {% assign current_authors = page.authors | split: ", " %} {% for current_author in current_authors %} {% if author == current_author %} {% if article_list_displayed == false %}

- {% if current_authors.first %} + {% if current_authors.size > 1 %} Other Articles By These Authors {% else %} Other Articles By This Author diff --git a/_posts/_template/2019-01-01-image-article-name.md b/_posts/_template/2019-03-06-image-article-name.md similarity index 85% rename from _posts/_template/2019-01-01-image-article-name.md rename to _posts/_template/2019-03-06-image-article-name.md index ab8b55d..24d0e8b 100644 --- a/_posts/_template/2019-01-01-image-article-name.md +++ b/_posts/_template/2019-03-06-image-article-name.md @@ -1,6 +1,6 @@ --- title: Title -date: 2019-01-01 7:01 +date: 2019-03-06 7:01 authors: Name image-caption: A caption for the cover image layout: image-article diff --git a/_posts/_template/2019-01-01-video-article-name.md b/_posts/_template/2019-03-06-video-article-name.md similarity index 86% rename from _posts/_template/2019-01-01-video-article-name.md rename to _posts/_template/2019-03-06-video-article-name.md index e8a3769..55ded7d 100644 --- a/_posts/_template/2019-01-01-video-article-name.md +++ b/_posts/_template/2019-03-06-video-article-name.md @@ -1,6 +1,6 @@ --- title: Title -date: 2019-01-01 7:01 +date: 2019-03-06 7:01 authors: Name video-caption: A caption for the video video-id: diff --git a/_site/css/article-page.css b/_site/css/article-page.css index 426c276..ae0f8c2 100644 --- a/_site/css/article-page.css +++ b/_site/css/article-page.css @@ -55,12 +55,14 @@ iframe { .slick-dots li button:before { font-size: 30px; + opacity: 1; + color: #ababab; } .slick-dots li.slick-active button::before { font-size: 40px; + opacity: 1; color: var(--mdc-theme-primary); - top: 0.5px; } diff --git a/css/article-page.css b/css/article-page.css index 426c276..ae0f8c2 100644 --- a/css/article-page.css +++ b/css/article-page.css @@ -55,12 +55,14 @@ iframe { .slick-dots li button:before { font-size: 30px; + opacity: 1; + color: #ababab; } .slick-dots li.slick-active button::before { font-size: 40px; + opacity: 1; color: var(--mdc-theme-primary); - top: 0.5px; }