{% assign titleUrl = lesson.title | replace: '–', '-' | replace: 'É', 'E' | replace: 'é', 'e' | replace: 'ô', 'o' | url_param_escape %} {% assign pdf = '/assets/pdf/cours/' | append: lesson.level | append: '/' | append: titleUrl | append: '.pdf' %} {% assign image = '/assets/img/lessons/' | append: lesson.level | append: '/' | append: lesson.id | append: '/preview.jpg' %} {% capture header %}

{{ lesson.title }}

{% if page.summary %}

Fiche résumée

{% endif %} {{ level.name }} {{ level.name }} {% for i in (1..5) %} {% endfor %} {% if lesson.difficulty == 1 %} Facile {% elsif lesson.difficulty == 2 %} Modéré {% elsif lesson.difficulty == 3 %} Moyen {% elsif lesson.difficulty == 4 %} Difficile {% elsif lesson.difficulty == 5 %} Complexe {% endif %}

{{ lesson.excerpt }}

{% if page.summary %} Retour au cours {% else %}
Lire le résumé
PDF Partager Erreur
{% endif %} {% endcapture %} {% include _includes/components/image_header.html image=image background_image=true content=header %}