summaryrefslogtreecommitdiff
path: root/theme/templates/archives.html
blob: f0441d99c5c32ea3c0cb75e576e086fd55739cd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% extends "base.html" %}

{%block title %}{{ SITENAME }} - Archives{%endblock%}

{% block content %}
  <h1 class="page_title">Archives</h1>
  <table id="archives">
    <tbody>
  {% for article in dates %}
      <tr>
        <td>{{ article.date.date() }}</td>
        <td><a href='{{ article.url }}'>{{ article.title }}</a></td>
      </tr>
  {% endfor %}
    </tbody>
  </table>
{% endblock %}
articles in elements %} <li><a href="{{SITEURL}}/{{tag.url}}"><span>{{ tag }}</span></a></li> {% endfor %} </ul> </li> {% endif %} {%- endmacro %} <div id="cssmenu"> <ul> <li class='has-sub'><span><a href="{{ SITEURL }}/">Articles</a></span> <ul> {% for article in articles %} {% if loop.index < FEED_MAX_ITEMS %} <li><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></li> {% endif %} {% endfor %} <hr/> <li><a href="{{ SITEURL }}/archives.html">Archives</a> </ul> </li> {{ submenu(categories, 'categories', 'Catégories') }} <li class='has-sub'><span>À lire</span> <ul> {% for page in pages %} <li><a href="{{SITEURL}}/{{page.url}}"><span>{{ page.title }}</span></a></li> {% endfor %} {% if pages and LINKS %} <hr/> {% endif %} {% for link, target in LINKS %} <li><a href="{{target}}"><span>{{ link }}</span></a></li> {% endfor %} </ul> </li> {# {% if FEED or FEED_RSS %} <li class='has-sub'><a href="{{ SITEURL }}/#">S'abonner</a> <ul> {% if FEED %} <li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">Flux ATOM</a></li> {% endif %} {% if FEED_RSS %} <li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">Flux RSS</a></li> {% endif %} {% if categories %} {% for category, articles in categories %} <li><a href="{{SITEURL}}/{{CATEGORY_FEED_ATOM % (category)}}"><span>{{ category }}</span></a></li> {% endfor %} {% endif %} </ul> </li> {% endif %} #} </ul> </div>