Recently edited only show articles which have been edited.

This commit is contained in:
Ethan Dalool 2020-03-27 23:33:44 -07:00
parent 596ba3b9d4
commit 978a507d1e

View file

@ -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>