diff options
author | Katharina Fey <kookie@spacekookie.de> | 2018-01-22 22:02:30 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2018-01-22 22:02:30 +0100 |
commit | 4005749a7c45bfd55e0859f6ab264bae1c3d556e (patch) | |
tree | 8f94adacd7baba26552de19a0e2bb50c1cbbc3cd | |
parent | 9d978ecb238aaf97f15f7fa8b327bc16a71b1b0b (diff) |
Removing card components
-rwxr-xr-x | crumbs/templates/article.html | 2 | ||||
-rw-r--r-- | crumbs/templates/card_content.html | 14 | ||||
-rwxr-xr-x | crumbs/templates/category.html | 2 |
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 %} |