Skip to content

Commit e932c21

Browse files
stwunschAxel-Naumann
authored andcommitted
fix alignment of author list
1 parent 19437ed commit e932c21

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

_includes/authors_list

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
{% assign tag = {{include.tag}} %}
22

3-
<ul style="list-style-type:none">
43
{% for author in site.data.authors %}
54
{% if author[1].tag == {{tag}} %}
6-
<li>
7-
<h3 id="{{ author[1].name }}"> {{ author[1].name }} </h3>
8-
{% if author[1].avatar %}
9-
<p><img src="{{author[1].avatar | relative_url}}" width="30%" style="padding: 0 15px; float: left;"></p>
10-
{% endif %}
11-
{{author[1].bio}}
12-
</li>
5+
<div>
6+
{% if author[1].avatar %}
7+
<div style="width:30%; display:inline-block; vertical-align: top;">
8+
<img src="{{author[1].avatar | relative_url}}" style="padding: 15px 15px; float: left;">
9+
</div>{% endif %}<!--
10+
--><div style="width:70%; display:inline-block; vertical-align: top;">
11+
<h3 id="{{ author[1].name }}" style="margin: 15px 0"> {{ author[1].name }} </h3>
12+
{{author[1].bio}}
13+
</div>
14+
</div>
1315
{% endif %}
1416
{% endfor %}
15-
</ul>

0 commit comments

Comments
 (0)