From 127ae68389b7f8bc6ca39baf38b9af96cd6b15ae Mon Sep 17 00:00:00 2001 From: Stuart Geiger Date: Fri, 21 Jul 2017 13:52:47 -0700 Subject: [PATCH] fix bug w/ blog posts added by previous teaching bugfix --- _includes/archive-single.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/archive-single.html b/_includes/archive-single.html index 600c3c59da4ca..31b355e54f9e4 100644 --- a/_includes/archive-single.html +++ b/_includes/archive-single.html @@ -40,9 +40,9 @@

{% if post.collection == 'teaching' %}

{{ post.type }}, {{ post.venue }}, {{ post.date | default: "1900-01-01" | date: "%Y" }}

- {% elsif page.venue and page.date %} + {% elsif post.venue and post.date %}

Published in {{ post.venue }}, {{ post.date | default: "1900-01-01" | date: "%Y" }}

- {% elsif page.date %} + {% elsif post.date %}

{{ site.data.ui-text[site.locale].date_label | default: "Published:" }}

{% endif %}