Added month and day to recent posts.

This commit is contained in:
Ahmet Bakan 2014-08-22 20:33:29 -04:00
parent 8b4f73d893
commit d9996e520f

View file

@ -3,7 +3,7 @@
<ul>
{% set pcount = 1 %}
{% for recent in ablog.recent(5, pagename) %}
<li><a href="{{ pathto(recent.docname) }}{{ anchor(recent) }}">{{ recent.title }}</a></li>
<li><a href="{{ pathto(recent.docname) }}{{ anchor(recent) }}">{{ recent.date.strftime("%b %d") + " - " + recent.title }}</a></li>
{% endfor %}
</ul>
{% endif %}