forked from eleven-labs/blog.eleven-labs.com
/
author.html
40 lines (37 loc) · 1.12 KB
/
author.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
---
layout: default
---
<article>
<header class="page-heading">
<div class="avatar">
<img class="avatar-img" src="/img/authors/{{page.login}}.jpg"/>
</div>
<h1 class="page-heading-title">{{ page.name }}</h1>
<div class="author-social">
<ul>
{% include icons.html data=page %}
</ul>
</div>
</header>
<section class="slice">
<div class="container post-content">
{{ content }}
</div>
</section>
<section class="slice">
<div class="read-also container">
<h3 class="read-also-title">Derniers articles :</h3>
<ul class="posts read-also-list">
{% for post in site.posts %}
{% if post.author == page.login %}
<li class="read-also-item">
<a class="read-also-link" href="{{ post.url | prepend: site.baseurl }}">
{{ post.title }}
</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</section>
</article>