diff --git a/templates/index.html b/templates/index.html index c6ace27bc0e5cb9e369b490bc7ace66ce42900a2..647ad912d322aa198bb40e975baa8c5a0dc14d70 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,18 +6,19 @@ <ul> {% for article in articles_page.object_list %} <li> + {% if article.date >= 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 }} {% if article.author %} - -- {{ article.author }} + <h3>{{ article.author }}</h3> {% endif %} - </a></h2> <p> {{ article.summary }} <a href="{{ SITEURL }}/{{ article.url }}"><em>Read more...</em></a> </p> - </li> + </li> + {% endif %} {% endfor %} </ul> {% if articles_page.has_other_pages() %}