Skip to content

Commit d8df759

Browse files
authored
Improve biosketch. (#280)
* Add biosketch. * Support biosketch formatting.
1 parent a6dbd69 commit d8df759

File tree

4 files changed

+26
-5
lines changed

4 files changed

+26
-5
lines changed

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"[html]": {
3+
"editor.tabSize": 4
4+
}
5+
}

_includes/themes/lab/member.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@
5050

5151
{% if member.nih_biosketch %}
5252
<div class="smallhead">
53-
<i class="ai ai-cv"></i>
53+
<i class="fa fa-paragraph fa-fw"></i>
5454
{% capture biosketch_url %}
5555
{% include /functions/get_drive_url.html url=member.nih_biosketch %}
5656
{% endcapture %}
57-
<a class="social cv" href="{{ biosketch_url }}">
57+
<a class="social nih_biosketch" href="{{ biosketch_url }}">
5858
NIH Biosketch
5959
</a>
6060
</div>

assets/themes/lab/css/style.scss

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ a.cv:hover {
6565
color:#00A08A;
6666
}
6767

68+
a.nih_biosketch:hover {
69+
color:#0fb000;
70+
}
71+
6872
a.github:hover {
6973
color: #F2AD00;
7074
}

team/index.html

+15-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,21 @@
5353
</a>
5454
{% endif %}
5555

56-
{% if member.cv %}
57-
<a class="social cv" href="{{ member.cv }}">
58-
<i class="ai ai-cv-square ai-lg"></i>
56+
{% if member.cv %}
57+
{% capture cv_url %}
58+
{% include /functions/get_drive_url.html url=member.cv %}
59+
{% endcapture %}
60+
<a class="social cv" href="{{ cv_url }}">
61+
<i class="ai ai-cv-square ai-lg"></i>
62+
</a>
63+
{% endif %}
64+
65+
{% if member.nih_biosketch %}
66+
{% capture nih_biosketch_url %}
67+
{% include /functions/get_drive_url.html url=member.nih_biosketch %}
68+
{% endcapture %}
69+
<a class="social nih_biosketch" href="{{ nih_biosketch_url }}">
70+
<i class="fa fa-paragraph fa-lg"></i>
5971
</a>
6072
{% endif %}
6173

0 commit comments

Comments
 (0)