summaryrefslogtreecommitdiff
path: root/blog/plt/tag.html
blob: 50b221f42c729be622caeb02aead88408de686cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{%extends "base.html"%}
{%block content%}
  <h1>Posts filtered by {{tag[0]}}</h1>

  <h2>Articles</h2>
  <ul>
    {%for p in tag_pages%}
      {%if loop.previtem%}
        {%if loop.previtem.cdate_list_sep !=p.cdate_list_sep%}
          <h3>{{p.cdate_list_sep}}</h3>
        {%endif%}
      {%else%}
        <h3>{{p.cdate_list_sep}}</h3>
      {%endif%}
      <li>{{p.cdate_list}} - <a href="{{p.url}}">{{p.title}}</a></li>
    {%endfor%}
  </ul>
{%endblock content%}