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

{% block title %}{{ SITENAME }} - Catégories{% endblock %}

{% block content %}
<h2 class="page_title">Liste des catégories</h2>
<ul>
{% for category, articles in categories %}
  <li>
  <a href="{{ category.url }}">{{ category }}</a> ({{ articles|count }})
  {% if CATEGORY_FEED_RSS %}
  <a href="{{ SITEURL }}/{{ CATEGORY_FEED_RSS % category }}" ><img src="theme/images/rss.png" /></a>
  {% endif %}
  </li>
{% endfor %}
</ul>
{% endblock %}
>href="{{ SITEURL }}/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} - Flux ATOM" /> {% if tag %} {% if TAG_FEED_ATOM %} <link href="{{ SITEURL }}/{{ TAG_FEED_ATOM % tag|e }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} » {{ tag|e }} - Flux ATOM" /> {% endif %} {% if TAG_FEED_RSS %} <link href="{{ SITEURL }}/{{ TAG_FEED_RSS % tag|e }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ tag }} - Flux RSS" /> {% endif %} {% endif %} {% if category %} {% if CATEGORY_FEED_ATOM %} <link href="{{ SITEURL }}/{{ CATEGORY_FEED_ATOM % category }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux ATOM" /> {% endif %} {% if CATEGORY_FEED_RSS %} <link href="{{ SITEURL }}/{{ CATEGORY_FEED_RSS % category }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux RSS" /> {% endif %} {% endif %} {% if GOOGLE_ANALYTICS %} <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("{{GOOGLE_ANALYTICS}}"); pageTracker._trackPageview(); } catch(err) {}</script> {% endif %} </head> <body> <div id="page"> {% include 'header.html' %} {% include 'menu.html' %} <section id="content"> {% block content %} {% endblock %} </section> <!-- /#content --> <footer id="footer"> <p>Propulsé par <a href="http://getpelican.com/">Pelican</a>.</p> </footer> </div> <!-- /#page --> </body> </html>