diff options
Diffstat (limited to 'pelican-bootstrap3/templates/index.html')
-rw-r--r-- | pelican-bootstrap3/templates/index.html | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/pelican-bootstrap3/templates/index.html b/pelican-bootstrap3/templates/index.html index b38c0ee..29ba7d6 100644 --- a/pelican-bootstrap3/templates/index.html +++ b/pelican-bootstrap3/templates/index.html @@ -1,17 +1,4 @@ -{% extends "base.html" %} -{% block content %} - {% if articles %} - {% for article in (articles_page.object_list if articles_page else articles) %} - <article> - <h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2> - <div class="summary">{{ article.summary }} - {% include 'includes/comment_count.html' %} - <a class="btn btn-default btn-xs" href="{{ SITEURL }}/{{ article.url }}">more ...</a> - </div> - </article> - <hr/> - {% endfor %} - {% endif %} +{% extends "article_list.html" %} + +{% block canonical_rel %}<link rel="canonical" href="{{ SITEURL }}">{% endblock %} - {% include 'includes/pagination.html' %} -{% endblock content %} |