diff --git a/alchemy/templates/base.html b/alchemy/templates/base.html index 6c35b66..938bcb9 100644 --- a/alchemy/templates/base.html +++ b/alchemy/templates/base.html @@ -24,13 +24,13 @@ - {% include "header.html" %} + {% include "include/header.html" %}
{% block content %}{% endblock %}
- {% include "footer.html" %} + {% include "include/footer.html" %} diff --git a/alchemy/templates/include/article_list.html b/alchemy/templates/include/article_list.html deleted file mode 100644 index 823111a..0000000 --- a/alchemy/templates/include/article_list.html +++ /dev/null @@ -1,25 +0,0 @@ -
-
-
- - - {% if article.author and SHOW_ARTICLE_AUTHOR %} - - {% endif %} -
-
-

- {{ article.title }} -

-
- {{ article.content|striptags|truncate(256) }} -
-
-
-
diff --git a/alchemy/templates/footer.html b/alchemy/templates/include/footer.html similarity index 100% rename from alchemy/templates/footer.html rename to alchemy/templates/include/footer.html diff --git a/alchemy/templates/header.html b/alchemy/templates/include/header.html similarity index 100% rename from alchemy/templates/header.html rename to alchemy/templates/include/header.html diff --git a/alchemy/templates/pagination.html b/alchemy/templates/include/pagination.html similarity index 100% rename from alchemy/templates/pagination.html rename to alchemy/templates/include/pagination.html diff --git a/alchemy/templates/index.html b/alchemy/templates/index.html index b3ece5d..a32b11c 100644 --- a/alchemy/templates/index.html +++ b/alchemy/templates/index.html @@ -6,9 +6,33 @@ {% endblock %}
{% for article in articles_page.object_list %} - {% include "include/article_list.html" %} +
+
+
+ + + {% if article.author and SHOW_ARTICLE_AUTHOR %} + + {% endif %} +
+
+

+ {{ article.title }} +

+
+ {{ article.content|striptags|truncate(256) }} +
+
+
+
{% endfor %}
- {% include 'pagination.html' %} + {% include 'include/pagination.html' %} {% endblock %}