aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2018-01-22 22:02:30 +0100
committerKatharina Fey <kookie@spacekookie.de>2018-01-22 22:02:30 +0100
commit4005749a7c45bfd55e0859f6ab264bae1c3d556e (patch)
tree8f94adacd7baba26552de19a0e2bb50c1cbbc3cd
parent9d978ecb238aaf97f15f7fa8b327bc16a71b1b0b (diff)
Removing card components
-rwxr-xr-xcrumbs/templates/article.html2
-rw-r--r--crumbs/templates/card_content.html14
-rwxr-xr-xcrumbs/templates/category.html2
3 files changed, 2 insertions, 16 deletions
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 @@
<h1>{{ article.title }}</h1>
{% 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 @@
-
-<div class="card">
- <div class="card-header">
- {% include "article_header.html" %}
- </div>
-
- <div class="card-content">
- {% if type == 'single' %}
- {{ article.content }}
- {% else %}
- {{ article.summary }}
- {% endif %}
- </div>
-</div>
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 %}