41 lines
1.3 KiB
HTML
41 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block pagename %}Blog{% endblock %}
|
|
|
|
{% block title %}
|
|
|
|
{% if category == "blog" %} Tha blog {% endif %}
|
|
{% if category == "tutos" %} Quelques tutos {% endif %}
|
|
{% if category == "gnuragistes" %} À propos de nous {% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block subtitle %}
|
|
|
|
{% if category == "blog" %} Quelques articles de gnuragistes. {% endif %}
|
|
{% if category == "tutos" %} Pour partager nos expériences. {% endif %}
|
|
{% if category == "gnuragistes" %} Pourquoi les gnuragistes, comment on fonctionne… {% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block description %}
|
|
|
|
{% if category == "blog" %} Des idées, des avis, des souvenirs… {% endif %}
|
|
{% if category == "tutos" %} Des trucs et astuces avec l'un ou l'autre outil. {% endif %}
|
|
{% if category == "gnuragistes" %} Peut-être aussi vers quoi nous souhaiterions aller. {% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if articles_page %}
|
|
{% for article in articles %}
|
|
<h3>
|
|
<a href="{{ article.url }}">{{ article.title }}</a><br />
|
|
<span class="smaller">
|
|
{{ article.author }},
|
|
le {{ article.date|strftime('%d %B %Y')}}{% if article.modified %}, modifié le {{ article.modified|strftime('%d %B %Y')}}{% endif %}
|
|
</span>
|
|
</h3>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endblock content %} |