From 4c21e69093144150c99252ff9c599864408902e5 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sun, 4 Sep 2011 14:18:28 -0500 Subject: Time metadata for updated pages and posts are now displayed where and when it is appropriate --- .themes/classic/source/_includes/post/date.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.themes/classic/source/_includes/post') diff --git a/.themes/classic/source/_includes/post/date.html b/.themes/classic/source/_includes/post/date.html index bc493138..dbfa67ae 100644 --- a/.themes/classic/source/_includes/post/date.html +++ b/.themes/classic/source/_includes/post/date.html @@ -2,9 +2,11 @@ {% capture has_date %}{{ date | size }}{% endcapture %} {% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %} {% capture was_updated %}{{ updated | size }}{% endcapture %} + {% if has_date != '0' %} - + {% capture time %}{% endcapture %} {% endif %} + {% if was_updated != '0' %} - -{% endif %} + {% capture updated %}{% endcapture %} +{% else %}{% assign updated = false %}{% endif %} -- cgit v1.2.1