1- <!DOCTYPE html>
2- < html lang ="{{ site.lang | default: " fr " }}">
3-
4- < head >
5- < link rel ="stylesheet " href ="https://pro.fontawesome.com/releases/v5.10.0/css/all.css "
6- integrity ="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p " crossorigin ="anonymous " />
7- < link rel ="stylesheet " href ="{{ '/assets/css/style.scss?v=' | append: site.github.build_revision | relative_url }} ">
8- </ head >
9-
10- < body >
11- {% assign author = site.data.authors[page.author] %}
12- < h3 > Auteur: </ h3 >
13-
14- {% if author.name %}
15- < p > {{author.name}} </ p >
16- {% else %}
17- < p > Auteur anonyme </ p >
18- {% endif %}
19-
20- < div class ="author ">
21- {% if author.image %}
22- < img src ="{{author.image}} " class ="avatar " alt ="avatar ">
23- {% else %}
24- < img src ="{{'/assets/images/anon.png?v=' | append: site.github.build_revision | relative_url}} " class ="avatar "
25- alt ="avatar ">
1+ < div >
2+ {% assign author = site.data.authors[page.author] %}
3+ < h3 > Auteur:</ h3 >
4+
5+ {% if author.name %}
6+ < p > {{author.name}}</ p >
7+ {% else %}
8+ < p > Auteur anonyme</ p >
9+ {% endif %}
10+
11+ < div class ="author ">
12+ {% if author.image %}
13+ < img
14+ src ="{{author.image}} "
15+ class ="avatar "
16+ alt ="avatar " /> {% else %}
17+ < img
18+ src ="{{'/assets/images/anon.png?v=' | append: site.github.build_revision | relative_url}} "
19+ class ="avatar "
20+ alt ="avatar " /> {% endif %}
21+ < div class ="bio ">
22+ {% if author.bio %}
23+ < p > {{ author.bio }}</ p >
24+ {% else %}
25+ < p > Aucune bio fournie</ p >
26+ {% endif %}
27+ < div class ="icons ">
28+ {% if author.github %}
29+ < a href ="https://github.com/{{author.github}} ">
30+ < img
31+ class ="icon "
32+ src ="{{ '/assets/images/github_icon.png?v=' | append: site.github.build_revision | relative_url }} "
33+ alt ="github_icon "
34+ /> </ a >
35+ {% endif %} {% if author.email %}
36+ < a href ="mailto:{{author.email}} ">
37+ < img
38+ class ="icon "
39+ src ="{{ '/assets/images/mail_icon.png?v=' | append: site.github.build_revision | relative_url }} "
40+ alt ="mail_icon "
41+ /> </ a >
42+ {% endif %} {% if author.twitter %}
43+ < a href ="https://twitter.com/{{author.twitter}} ">
44+ < img
45+ class ="icon "
46+ src ="{{ '/assets/images/twitter_icon.png?v=' | append: site.github.build_revision | relative_url }} "
47+ alt ="twitter_icon "
48+ /> </ a >
49+ {% endif %} {% if author.tel %}
50+ < a href ="https://wa.me/{{author.tel}} ">
51+ < img
52+ class ="icon "
53+ src ="{{ '/assets/images/whatsapp_icon.png?v=' | append: site.github.build_revision | relative_url }} "
54+ alt ="whatsapp_icon "
55+ /> </ a >
2656 {% endif %}
27- < div class ="bio ">
28- {% if author.bio %}
29- < p > {{ author.bio }}</ p >
30- {% else %}
31- < p > Aucune bio fournie </ p >
32- {% endif %}
33- < div class ="icons ">
34- {% if author.github %}
35- < a href ="https://github.com/{{author.github}} ">
36- < img class ="icon "
37- src ="{{ '/assets/images/github_icon.png?v=' | append: site.github.build_revision | relative_url }} "
38- alt ="github_icon "> </ a >
39- {% endif %}
40-
41- {% if author.email %}
42- < a href ="mailto:{{author.email}} ">
43- < img class ="icon "
44- src ="{{ '/assets/images/mail_icon.png?v=' | append: site.github.build_revision | relative_url }} "
45- alt ="mail_icon "> </ a >
46- {% endif %}
47-
48- {% if author.twitter %}
49- < a href ="https://twitter.com/{{author.twitter}} ">
50- < img class ="icon "
51- src ="{{ '/assets/images/twitter_icon.png?v=' | append: site.github.build_revision | relative_url }} "
52- alt ="twitter_icon "> </ a >
53- {% endif %}
54-
55- {% if author.tel %}
56- < a href ="https://wa.me/{{author.tel}} ">
57- < img class ="icon "
58- src ="{{ '/assets/images/whatsapp_icon.png?v=' | append: site.github.build_revision | relative_url }} "
59- alt ="whatsapp_icon "> </ a >
60- {% endif %}
61- </ div >
62- </ div >
57+ </ div >
6358 </ div >
64-
65-
66-
67-
68- < style >
69- .author {
70- display : flex;
71- margin-bottom : 2% ;
72- }
73-
74- .avatar {
75- border-radius : 50% ;
76- border : 3px black solid;
77- height : 80px ;
78- width : 80px ;
79- }
80-
81- .icons {
82- display : flex;
83- }
84-
85- .icon {
86- margin-left : 5px ;
87- height : 30px ;
88- width : 30px ;
89- }
90-
91- .bio {
92- display : block;
93- margin-left : 3% ;
94- margin-top : 0 ;
95- }
96- </ style >
97- </ body >
59+ </ div >
60+ </ div >
0 commit comments