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>
<ul>
{% for article in articles_edited %}
{% if article.edited and article.edited != article.date %}
<li>
<a href="{{article.web_path}}">{{article.date}} - {{article.title}}</a>
<a href="{{article.web_path}}">{{article.date}} - {{article.title}} ({{article.edited}})</a>
</li>
{% endif %}
{% endfor %}
</ul>
</body>