aboutsummaryrefslogtreecommitdiff
path: root/crumbs/templates/category.html
blob: 916ea92c4386a87d0c86c1efc6aef356098aab89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{% extends "base.html" %}

{% block title %}{{ NEST_CATEGORY_HEAD_TITLE }} {{ category|capitalize }} - {{ super() }} CATEGORY {% endblock title %}
{% block description %}{{ NEST_CATEGORY_HEAD_DESCRIPTION }} {{ category|capitalize }}{% endblock description %}

{% block content %}

<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>
{% 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 %}