Recently edited only show articles which have been edited.
This commit is contained in:
parent
596ba3b9d4
commit
978a507d1e
1 changed files with 3 additions and 1 deletions
|
@ -381,9 +381,11 @@ def write_writing_index():
|
||||||
<h2>Recently edited</h2>
|
<h2>Recently edited</h2>
|
||||||
<ul>
|
<ul>
|
||||||
{% for article in articles_edited %}
|
{% for article in articles_edited %}
|
||||||
|
{% if article.edited and article.edited != article.date %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{article.web_path}}">{{article.date}} - {{article.title}}</a>
|
<a href="{{article.web_path}}">{{article.date}} - {{article.title}} ({{article.edited}})</a>
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in a new issue