-
Notifications
You must be signed in to change notification settings - Fork 5
/
td.html
55 lines (52 loc) · 1.49 KB
/
td.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
title: Exercices
css: "/css/pdfs.css"
full-width: true
---
<section id="td">
{% if site.data.pdfs.TD %}
<h3>TD deuxième année</h3>
<div class="grid">
{% for td in site.data.pdfs.TD %}
<div class="enoncecorrige">
<h6>{{td.title}}</h6>
<div>
{% assign s = td | sort %}
{% for sub in s reversed %}
{% if sub[1].path %}
<a href="{{'/pdfs/TD/' | append: sub[1].path}}">
<i class="fa-regular fa-file-pdf"></i>
<span>{{sub[0]}}</span>
</a>
{% endif %}
{% endfor %}
</div>
</div>
{% endfor %}
</div>
{% endif %}
</section>
<hr>
<section id="td premiere annee">
{% if site.data.pdfs.PremiereAnnee.TD %}
<h3>TD première année</h3>
<div class="grid">
{% for td in site.data.pdfs.PremiereAnnee.TD %}
<div class="enoncecorrige">
<h6>{{td.title}}</h6>
<div>
{% assign s = td | sort %}
{% for sub in s reversed %}
{% if sub[1].path %}
<a href="{{'/pdfs/PremiereAnnee/TD/' | append: sub[1].path}}">
<i class="fa-regular fa-file-pdf"></i>
<span>{{sub[0]}}</span>
</a>
{% endif %}
{% endfor %}
</div>
</div>
{% endfor %}
</div>
{% endif %}
</section>