aboutsummaryrefslogtreecommitdiff
path: root/crumbs/templates/tag.html
blob: 85cdda77b04e338d63dd60a2697f5f9378bb5cda (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{% extends "base.html" %}
<!-- TEMPLATE: TAG -->

{% block title %}{{ NEST_TAG_HEAD_TITLE }} {{ tag }} - {{ super() }}{% endblock title %}
{% block description %}{{ NEST_TAG_HEAD_DESCRIPTION }} {{ tag }}{% endblock description %}

<!-- {% block headerstyle %}
    {% if NEST_HEADER_IMAGES %}
    <div class="header-container" style="background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('{{ SITEURL }}/images/{{ NEST_HEADER_IMAGES }}'); background-position: center; ">
    {% else %}
    <div class="header-container gradient">
    {% endif %}
{% endblock headerstyle %} -->

<!-- {% block header %}
    <div class="container header-wrapper">
        <div class="row">
              <div class="col-lg-12">
                  <div class="header-content">
                      <h1 class="header-title text-uppercase">{{ NEST_CATEGORY_HEADER_TITLE }} {{ tag|capitalize }}</h1>
                      <div class="header-underline"></div>
                  </div>
              </div>
        </div>
    </div>
{% endblock header %} -->

{% block content %}

<div class="col-lg-9 content archive">
  
  <h1>{{ tag|capitalize }}</h1>
  <dl class="dl-horizontal">

  <!-- This section displays "pinned" articles for the blog tag page-->
  {% if tag == 'blog' %}
    <hr>
      <dd> 
        Browse the archive by <a href="{{ SITEURL }}/categories.html">category</a></p>
      </dd>
    <hr>
  {% endif %}

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