Import template layer
diff --git a/theme/templates/index.html b/theme/templates/index.html
index 1d1066f..099ed0f 100644
--- a/theme/templates/index.html
+++ b/theme/templates/index.html
@@ -3,12 +3,10 @@
{% block title %}Blog | {{ SITENAME }}{% endblock %}
{% block content %}
-{% for article in articles_page.object_list %}
+{% for article in articles_page.object_list|sort(attribute='no') %}
<article>
<div class="article_title">
- <h1><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1>
- </div>
- <div class="article_text">
+ <h3><a href="{{ BLOGURL }}/{{ article.url }}">{{ article.title }}</a></h3>
{{ article.summary }}
</div>
</article>
@@ -18,8 +16,10 @@
{% endfor %}
{% endblock %}
+{% if BLOCK_FOOTER %}
{% block footer %}
<footer>
{% include "modules/pagination.html" %}
</footer>
{% endblock %}
+{% endif %}