|
1 | 1 | <section class="biocard">
|
2 |
| - <img |
3 |
| - class="biocard-photo" |
4 |
| - alt="{{ include.name }}" |
5 |
| - width=160 |
6 |
| - height=160 |
7 |
| - src="/assets/bios/{{ include.photo }}" |
8 |
| - loading="{% if include.loading %}{{ include.loading }}{% else %}lazy{% endif %}" /> |
| 2 | + {% if include.photo %} |
| 3 | + <img |
| 4 | + class="biocard-photo" |
| 5 | + alt="{{ include.name }}" |
| 6 | + width=160 |
| 7 | + height=160 |
| 8 | + src="/assets/bios/{{ include.photo }}" |
| 9 | + loading="{% if include.loading %}{{ include.loading }}{% else %}lazy{% endif %}" /> |
| 10 | + {% endif %} |
9 | 11 | <div class="biocard-copy">
|
10 | 12 | <div class="biocard-header">{{ include.name }}</div>
|
11 | 13 | {% if include.affiliation %}
|
12 | 14 | <div class="biocard-affiliation">{{ include.affiliation }}</div>
|
13 | 15 | {% endif %}
|
14 | 16 | <div class='biocard-badges'>
|
15 | 17 | {% if include.personal %}
|
16 |
| - <a href="{{ include.personal }}" rel="noopener noreferrer">Web</a> |
| 18 | + <a href="{{ include.personal }}" rel="noopener noreferrer"><img src="/assets/badges/1f310.svg" alt="Personal Website" title="Personal Website"></a> |
17 | 19 | {% endif %}
|
18 | 20 | {% if include.gh_handle %}
|
19 |
| - <a href="https://github.com/{{ include.gh_handle }}" rel="noopener noreferrer">GitHub</a> |
| 21 | + <a href="https://github.com/{{ include.gh_handle }}" rel="noopener noreferrer"><img src="/assets/badges/github.svg" alt="GitHub" title="GitHub"></a> |
20 | 22 | {% endif %}
|
21 | 23 | {% if include.linkedin %}
|
22 |
| - <a href="{{ include.linkedin }}" rel="noopener noreferrer">LinkedIn</a> |
| 24 | + <a href="{{ include.linkedin }}" rel="noopener noreferrer"><img src="/assets/badges/linkedin.png" alt="LinkedIn" title="LinkedIn"></a> |
| 25 | + {% endif %} |
| 26 | + {% if include.mastodon %} |
| 27 | + <a href="{{ include.mastodon }}" rel="noopener noreferrer"><img src="/assets/badges/mastodon.svg" alt="Mastodon" title="Mastodon"></a> |
23 | 28 | {% endif %}
|
24 | 29 | {% if include.twitter_handle %}
|
25 |
| - <a href="https://twitter.com/{{ include.twitter_handle }}" rel="noopener noreferrer">Twitter</a> |
| 30 | + <a href="https://twitter.com/{{ include.twitter_handle }}" rel="noopener noreferrer"><img src="/assets/badges/twitter.svg" alt="Twitter" title="Twitter"></a> |
| 31 | + {% endif %} |
| 32 | + {% if include.subproject %} |
| 33 | + <div class="biocard-subproject">{{ include.subproject }}</div> |
26 | 34 | {% endif %}
|
27 | 35 | </div>
|
28 | 36 | </div>
|
|
0 commit comments