diff options
Diffstat (limited to 'crumbs/templates/category.html')
-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 %} |