summaryrefslogtreecommitdiff
path: root/plt/index.html
blob: c96db3bfb4174031f11112e4e1b74081fad09754 (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
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <base href="{{site_base_static_url}}">
    <title>Index -- {{site_title}}</title>
  </head>
  <body>
  <h1>Index -- {{site_title}}</h1>
  <p>Some text here.</p>

  <p>Tags:
  {%for t in all_tags%}
    <a href="{{t[1]}}">{{t[0]}}</a>{{", " if not loop.last else ""}}
  {%endfor%}
  </p>

  <h2>Articles</h2>
  <ul>
  {%for p in all_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>
  </body>
</html>