mirror of
https://github.com/vale981/ablog
synced 2025-03-06 09:41:39 -05:00
Added month and day to recent posts.
This commit is contained in:
parent
8b4f73d893
commit
d9996e520f
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
{% set pcount = 1 %}
|
{% set pcount = 1 %}
|
||||||
{% for recent in ablog.recent(5, pagename) %}
|
{% 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 %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue