diff --git a/_includes/article-carousel.html b/_includes/article-carousel.html new file mode 100644 index 0000000..331b99b --- /dev/null +++ b/_includes/article-carousel.html @@ -0,0 +1,50 @@ +{% if site.categories.articles.size > 1 %} + {% 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 %} +

+ + +{% endif %} diff --git a/_includes/article-page-head.html b/_includes/article-page-head.html new file mode 100644 index 0000000..f22b9ce --- /dev/null +++ b/_includes/article-page-head.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/_includes/head.html b/_includes/head.html index bdf47c2..9208adc 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -42,4 +42,5 @@ + diff --git a/_layouts/404.html b/_layouts/404.html index 9458053..2f47cf2 100644 --- a/_layouts/404.html +++ b/_layouts/404.html @@ -18,6 +18,7 @@ {% include footer.html %} + {% include top-scroll-button.html %}