Remove unsupported 'updated' flag from _includes/post/date.html

Jekyll does not support this value for Page or Post classes. The
capture returned an empty Sting, which was always evaluated to true
in '{% if updated %}'.
This commit is contained in:
Frederic Hemberger
2011-10-18 17:39:19 +02:00
parent c2a68cc2a9
commit 81e814a354
3 changed files with 5 additions and 11 deletions

View File

@ -15,7 +15,7 @@ layout: default
<footer>
{% if page.date or page.author %}<p class="meta">
{% if page.author %}{% include post/author.html %}{% endif %}
{% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %}
{% include post/date.html %}{{ time }}
{% if page.categories %}{% include post/categories.html %}{% endif %}
</p>{% endif %}
{% unless page.sharing == false %}