~etalab/communs.numerique.gouv.fr

ref: 17bf224b794b7ff4a3a30dd562da4ffa69992adc communs.numerique.gouv.fr/_includes/postslist.njk -rw-r--r-- 806 bytes
17bf224bBastien bluehats/ateliers.md: Add workshop 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div class="fr-grid-row fr-grid-row--gutters">
  
  {% for post in postslist | reverse %}
    <div class="fr-col-12 fr-col-md-4">
      <div class="fr-card fr-enlarge-link">
        <div class="fr-card__body">
          <p class="fr-card__detail"><time datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate }}</time></p>
          <h2 class="fr-card__title">
            <a href="{{ post.url | url }}" class="fr-card__link">{{ post.data.title }}</a>
          </h2>
          {%if post.data.description %}
            <p class="fr-card__desc">
              {{ post.data.description }}
            </p>
          {%endif %}
        </div>
        <div class="fr-card__img">
          <img src="{{ post.data.image }}" alt="">
        </div>
      </div> 
    </div>
  {% endfor %}

</div>