diff --git a/templates/index.html b/templates/index.html index 647ad912d322aa198bb40e975baa8c5a0dc14d70..483823fd69a9c54bc9bde2574e1cc6088f2cba69 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,7 +6,7 @@ <ul> {% for article in articles_page.object_list %} <li> - {% if article.date >= article.date.now() %} + {% if article.date >= now() %} <h1><time datetime="{{ article.date }}">{{ article.date|strftime('%b %d, %Y') }}</time></h1> <h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}