forked from github/pelican
The modified attribute no longer has a default value.
This allows for templates using {% if article.modified %}
instead of {% if article.modified != article.published %} .
This commit is contained in:
parent
3b0823f5e6
commit
bd9d1b9539
54 changed files with 115 additions and 251 deletions
|
|
@ -28,7 +28,7 @@
|
|||
<abbr class="published" title="{{ article.date.isoformat() }}">
|
||||
{{ article.locale_date }}
|
||||
</abbr>
|
||||
{% if article.modified != article.date %}
|
||||
{% if article.modified %}
|
||||
<abbr class="modified" title="{{ article.modified.isoformat() }}">
|
||||
{{ article.locale_modified }}
|
||||
</abbr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue