Show updated time on page templaet
This commit is contained in:
parent
8865ae02e4
commit
62b518c81e
@ -21,15 +21,7 @@
|
|||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
.node-details-meta.footer
|
.node-details-meta.footer
|
||||||
ul.node-details-meta-list
|
span.updated(title="created {{ node._created | pretty_date }}") updated {{ node._updated | pretty_date }}
|
||||||
li.node-details-meta-list-item.author
|
|
||||||
| {{ node.user.full_name }}
|
|
||||||
|
|
||||||
li.node-details-meta-list-item.date(title="Created {{ node._created }}")
|
|
||||||
| {{ node._created | pretty_date }}
|
|
||||||
| {% if (node._created | pretty_date) != (node._updated | pretty_date) %}
|
|
||||||
span(title="Updated {{ node._updated }}") (updated {{ node._updated | pretty_date }})
|
|
||||||
| {% endif %}
|
|
||||||
|
|
||||||
include ../_scripts
|
include ../_scripts
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user