diff options
author | Katharina Fey <kookie@spacekookie.de> | 2018-01-22 21:12:21 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2018-01-22 21:12:21 +0100 |
commit | b664865f3a370ce1a998eb309e03023b0bb6cc4f (patch) | |
tree | 495ae843469720fe4bdb2cb312f23d7ab63f7eb9 /crumbs/templates/category.html | |
parent | 25fd8b3905c9b7d092281b481826a744c0dadd40 (diff) |
Refactoring the templates a bit. Fixing some bugs
Diffstat (limited to '')
-rwxr-xr-x | crumbs/templates/category.html | 30 |
1 files changed, 3 insertions, 27 deletions
diff --git a/crumbs/templates/category.html b/crumbs/templates/category.html index 916ea92..f741c6e 100755 --- a/crumbs/templates/category.html +++ b/crumbs/templates/category.html @@ -8,33 +8,9 @@ <h1>{{ category }}</h1> {% for article in articles %} -<div class="card"> - <div class="card-header"> - <h2 class="card-header-url"><b><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></b></h2> - {% set in_article = false %} - {% include "article_header.html" %} - </div> - - <div class="card-content"> - {{ article.summary }} - </div> -</div> + {% with type='multi' %} + {% include "card_content.html" %} + {% endwith %} {% endfor %} - - -<!-- <div class="col-lg-12 content"> --> - <!-- <dl class="dl-horizontal"> --> - - <!-- This loops through all the articles --> - <!-- {% for article in articles %} --> - <!-- <dt><p>{{ article.locale_date}}</p></dt> --> - <!-- <dd> --> - <!-- <a href="{{ SITEURL }}/{{ article.url }}"><h2>{{ article.title }}</h2></a> --> - <!-- <p>{{ article.summary }}</p> --> - <!-- </dd> --> - <!-- {% endfor %} --> - <!-- </dl> --> -<!-- </div> --> - {% endblock content %} |