From 4005749a7c45bfd55e0859f6ab264bae1c3d556e Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Mon, 22 Jan 2018 22:02:30 +0100 Subject: Removing card components --- crumbs/templates/article.html | 2 +- crumbs/templates/card_content.html | 14 -------------- crumbs/templates/category.html | 2 +- 3 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 crumbs/templates/card_content.html diff --git a/crumbs/templates/article.html b/crumbs/templates/article.html index 9cb1d52..84f7417 100755 --- a/crumbs/templates/article.html +++ b/crumbs/templates/article.html @@ -9,7 +9,7 @@

{{ article.title }}

{% with type='single' %} -{% include "card_content.html" %} +{% include "components/card_content.html" %} {% endwith %} {% endblock %} diff --git a/crumbs/templates/card_content.html b/crumbs/templates/card_content.html deleted file mode 100644 index 245d66b..0000000 --- a/crumbs/templates/card_content.html +++ /dev/null @@ -1,14 +0,0 @@ - -
-
- {% include "article_header.html" %} -
- -
- {% if type == 'single' %} - {{ article.content }} - {% else %} - {{ article.summary }} - {% endif %} -
-
diff --git a/crumbs/templates/category.html b/crumbs/templates/category.html index f741c6e..92505d2 100755 --- a/crumbs/templates/category.html +++ b/crumbs/templates/category.html @@ -9,7 +9,7 @@ {% for article in articles %} {% with type='multi' %} - {% include "card_content.html" %} + {% include "components/card_content.html" %} {% endwith %} {% endfor %} -- cgit v1.2.3