~etalab/communs.numerique.gouv.fr

ref: 17bf224b794b7ff4a3a30dd562da4ffa69992adc communs.numerique.gouv.fr/_includes/layouts/page.njk -rw-r--r-- 921 bytes
17bf224bBastien bluehats/ateliers.md: Add workshop 8 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
25
26
27
28
29
30
31
32
33
34
35
36
37
---
layout: layouts/base.njk
---

{% include "breadcrumb.njk" %}

<h1>{{ title }}</h1>

<div class="fr-grid-row fr-grid-row--gutters fr-grid-row--top">
  <div class="fr-col-12 fr-col-md-12">
    {%- if date %}
      <p><time class="fr-tag" datetime="{{ date | htmlDateString }}">Publié le {{ date | readableDate }}</time></p>
    {% endif %}

    {{ content | safe }}
  </div>

  <div class="fr-col-12 fr-col-md-4">
    <div class="fr-card fr-enlarge-link">
      {%- if link or image or linkImage %}
	{%- if link %}
          <div class="fr-card__body">
            <h2 class="fr-card__title">
              <a href="{{ link }}" class="fr-card__link">{{ linkTitle }}</a>
            </h2>
          </div>
	{% endif %}

	{%- if image or linkImage %}
          <div class="fr-card__img">
            <img src="{{ image or linkImage }}" alt="">
          </div>
	{% endif %}
      {% endif %}
    </div> 
  </div>
</div>