Add custom date format to pages, add 'updated' field again

Reverts changes of c2a68cc where I accidentally removed support for 'updated' field, see comments of issue #164 for details.
This commit is contained in:
Frederic Hemberger
2011-11-03 20:32:38 +01:00
parent 262eb52bc5
commit 987dccee76
4 changed files with 56 additions and 22 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 %}{{ time }}
{% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %}
{% if page.categories %}{% include post/categories.html %}{% endif %}
</p>{% endif %}
{% unless page.sharing == false %}