mirror of
https://github.com/vale981/ablog
synced 2025-03-06 01:31:39 -05:00
Added update date to post cards.
This commit is contained in:
parent
d9996e520f
commit
cf9162acb5
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
{% if post.published and post.date != post.update %}
|
||||
<li>{% if fa %}<i class="fa fa-pencil-square-o"></i>{% else %}{{ gettext('Update') }}:{% endif %}
|
||||
{{ post.update.strftime("%b %d, %Y") }}</li>
|
||||
{% endif %}
|
||||
|
||||
{% if post.author %}
|
||||
<li>{% if fa %}<i class="fa-fw fa fa-user"></i>{% else %}{{ gettext('Author') }}:{% endif %}
|
||||
{% for coll in post.author %}
|
||||
|
|
Loading…
Add table
Reference in a new issue