Commit deede0ae1f3622d5914387e8bd0e242da462a447
1 parent
7a7bfe51
Transformation des objets posts en crs
Showing
15 changed files
with
29 additions
and
57 deletions
Show diff stats
_posts/2016-12-07-compte-rendu-reunion.markdown renamed to _crs/2016-12-07-compte-rendu-reunion.markdown
_posts/2016-12-08-compte-rendu-meetup-big-data-machine-learning-1.markdown renamed to _crs/2016-12-08-compte-rendu-meetup-big-data-machine-learning-1.markdown
_posts/2016-12-14-compte-rendu-reunion.markdown renamed to _crs/2016-12-14-compte-rendu-reunion.markdown
_posts/2017-01-04-compte-rendu-reunion.markdown renamed to _crs/2017-01-04-compte-rendu-reunion.markdown
_posts/2017-01-18-compte-rendu-reunion.markdown renamed to _crs/2017-01-18-compte-rendu-reunion.markdown
_posts/2017-02-01-compte-rendu-reunion.markdown renamed to _crs/2017-02-01-compte-rendu-reunion.markdown
_posts/2017-02-08-compte-rendu-reunion.markdown renamed to _crs/2017-02-08-compte-rendu-reunion.markdown
_posts/2017-02-15-compte-rendu-reunion.markdown renamed to _crs/2017-02-15-compte-rendu-reunion.markdown
_posts/2017-03-01-compte-rendu-reunion.markdown renamed to _crs/2017-03-01-compte-rendu-reunion.markdown
_posts/2017-03-08-compte-rendu-reunion.markdown renamed to _crs/2017-03-08-compte-rendu-reunion.markdown
_posts/2017-03-15-compte-rendu-reunion.markdown renamed to _crs/2017-03-15-compte-rendu-reunion.markdown
_posts/2017-03-22-compte-rendu-reunion.markdown renamed to _crs/2017-03-22-compte-rendu-reunion.markdown
_posts/2017-03-29-compte-rendu-reunion.markdown renamed to _crs/2017-03-29-compte-rendu-reunion.markdown
_layouts/post.html renamed to _layouts/cr.html
_layouts/home.html renamed to crs.html
1 | 1 | --- |
2 | -layout: default | |
2 | +title: Compte-rendus | |
3 | +tags: footer | |
4 | +permalink: /cr/ | |
3 | 5 | --- |
4 | 6 | |
5 | -<div class="home"> | |
7 | +<p>Vous trouverez ici les comptes-rendus de nos réunions rédigés par notre secrétaire (la plupart du temps).</p> | |
6 | 8 | |
7 | - <h1 class="page-heading">Compte-rendus</h1> | |
8 | - | |
9 | - {{ content }} | |
9 | +<ul class="post-list"> | |
10 | +{% assign crs = site.crs | sort: 'date' | reverse %} | |
11 | +{% for cr in crs %} | |
12 | + <li> | |
13 | + <h2> | |
14 | + <a class="post-link" href="{{ cr.url | relative_url }}"> | |
15 | + {{ cr.title | escape }} du {% include date.html date=cr.date %} | |
16 | + </a> | |
17 | + </h2> | |
18 | + </li> | |
19 | +{% endfor %} | |
20 | +</ul> | |
10 | 21 | |
11 | - <ul class="post-list"> | |
12 | - {% for post in site.posts %} | |
13 | - <li> | |
14 | - <h2> | |
15 | - <a class="post-link" href="{{ post.url | relative_url }}"> | |
16 | - {{ post.title | escape }} du {% include date.html date=post.date %} | |
17 | - </a> | |
18 | - </h2> | |
19 | - </li> | |
20 | - {% endfor %} | |
21 | - </ul> | |
22 | - | |
23 | - <p class="rss-subscribe">s'abonner <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p> | |
24 | - | |
25 | -</div> | |
22 | +<p class="rss-subscribe">s'abonner <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p> | ... | ... |