Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit86df5f4

Browse files
committed
Profile changes
1 parentea6703a commit86df5f4

File tree

12 files changed

+100
-18
lines changed

12 files changed

+100
-18
lines changed

‎content/team/alexandre-andorra/contents.lr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name: Alexandre Andorra
22
---
33
picture:https://avatars3.githubusercontent.com/u/30447180?s=460&u=a85dd506e8d505e2343d6134097b1f293f0c2e10&v=4
44
---
5-
profile_url:https://github.com/AlexAndorra
5+
github_url:https://github.com/AlexAndorra
66
---
77
location: Paris, France

‎content/team/brandon-willard/contents.lr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name: Brandon Willard
22
---
33
picture:https://avatars2.githubusercontent.com/u/971601?s=460&v=4
44
---
5-
profile_url:https://github.com/brandonwillard
5+
github_url:https://github.com/brandonwillard
66
---
77
location: New York City, USA

‎content/team/eric-ma/contents.lr‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ name: Eric J. Ma
22
---
33
picture:https://avatars2.githubusercontent.com/u/2631566?s=460&u=c5d73d769c251a862d7d4bbf1119297d8085c34c&v=4
44
---
5-
profile_url:https://github.com/ericmjl
5+
github_url:https://github.com/ericmjl
66
---
77
location: Cambridge, USA
8+
---
9+
blurb: Solving life science problems with network science, deep learning, and Bayesian statistics.
10+
---
11+
twitter_url:https://twitter.com/ericmjl
12+
---
13+
linkedin_url:https://www.linkedin.com/in/ericmjl/
14+
---
15+
specializations: deep learning, graph theory, neural networks, Bayesian statistics

‎content/team/luciano-paz/contents.lr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ name: Luciano Paz
22
---
33
picture:https://avatars3.githubusercontent.com/u/5230109?s=460&u=611ca44259082a819ef2988f86aec3e7ce5ec302&v=4
44
---
5-
profile_url:https://github.com/lucianopaz
5+
github_url:https://github.com/lucianopaz

‎content/team/maxim-kochurov/contents.lr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name: Maxim Kochurov
22
---
33
picture:https://avatars3.githubusercontent.com/u/11705326?s=460&u=5eb545d605c4340ca2017b7fb498e470be38b0be&v=4
44
---
5-
profile_url:https://github.com/ferrine
5+
github_url:https://github.com/ferrine
66
---
77
location: Moscow, Russia

‎content/team/oriol-abril-pla/contents.lr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ name: Oriol Abril Pla
22
---
33
picture:https://avatars3.githubusercontent.com/u/23738400?s=400&u=e12583539a9f95064bc8559c0669a2f00906bb41&v=4
44
---
5-
profile_url:https://github.com/OriolAbril
5+
github_url:https://github.com/OriolAbril

‎content/team/ravin-kumar/contents.lr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name: Ravin Kumar
22
---
33
picture:https://avatars0.githubusercontent.com/u/7213793?s=400&u=a3ce97892d6f56d3039c057f7c2ed70013a697ed&v=4
44
---
5-
profile_url:https://github.com/canyon289
5+
github_url:https://github.com/canyon289
66
---
77
location: Los Angeles, USA

‎content/team/thomas-wiecki/contents.lr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ name: Thomas Wiecki
22
---
33
picture:https://avatars1.githubusercontent.com/u/674200?s=460&u=e7a2cbf8358fa554c2d9370ca51ed255ab9fb9a1&v=4
44
---
5-
profile_url:https://github.com/twiecki
5+
github_url:https://github.com/twiecki

‎models/teammate.ini‎

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,26 @@ type = string
99
label = Picture URL
1010
type = url
1111

12-
[fields.profile_url]
13-
label = Profile URL
12+
[fields.github_url]
13+
label = GitHub URL
14+
type = url
15+
16+
[fields.twitter_url]
17+
label = Twitter URL
18+
type = url
19+
20+
[fields.linkedin_url]
21+
label = Linkedin URL
1422
type = url
1523

1624
[fields.specializations]
17-
label = Specializations
18-
type =markdown
25+
label = Specializations (comma-separated)
26+
type =string
1927

2028
[fields.location]
2129
label = Location
2230
type = string
31+
32+
[fields.blurb]
33+
label = Blurb (140 characters)
34+
type = markdown

‎templates/macros/teammate.html‎

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,74 @@
1-
{% macrorender_teammate(teammate) %}
1+
{% macrorender_teammate_card(teammate) %}
22
<divclass="col-md-3 mb-5">
33
<divclass="card border-light h-100">
4-
<ahref="{{ teammate.profile_url }}">
4+
<ahref="{{ teammate._slug }}/">
55
<imgclass="img-round card-img-top"src="{{ teammate.picture }}"alt="">
66
</a>
77
<divclass="card-body">
88
<h4class="card-title text-center">{{ teammate.name }}</h4>
99
</div>
10+
<divclass="card-footer text-center">
11+
{% if teammate.github_url %}
12+
<ahref="{{ teammate.github_url }}">
13+
<iclass="fab fa-github"></i>
14+
</a>
15+
{% endif %}
16+
17+
{% if teammate.twitter_url %}
18+
<ahref="{{ teammate.twitter_url }}">
19+
<iclass="fab fa-twitter"></i>
20+
</a>
21+
{% endif %}
22+
23+
{% if teammate.linkedin_url %}
24+
<ahref="{{ teammate.linkedin_url }}">
25+
<iclass="fab fa-linkedin"></i>
26+
</a>
27+
{% endif %}
28+
</div>
29+
</div>
30+
</div>
31+
{% endmacro %}
32+
33+
34+
{% macro render_teammate_page(teammate) %}
35+
<divclass="col-md-6 mb-5">
36+
<divclass="card border-light h-100">
37+
<ahref="{{ teammate.slug }}">
38+
<imgclass="img-round card-img-top"src="{{ teammate.picture }}"alt="">
39+
</a>
40+
<divclass="card-body">
41+
<h4class="card-title text-center">{{ teammate.name }}</h4>
42+
43+
{%if teammate.specializations %}
44+
<h5>Specializations</h5>
45+
<p>{{ teammate.specializations }}</p>
46+
{% endif %}
47+
48+
{% if teammate.location %}
49+
<h5>Location</h5>
50+
<p>{{ teammate.location }}</p>
51+
{% endif %}
52+
</div>
53+
<divclass="card-footer text-center">
54+
{% if teammate.github_url %}
55+
<ahref="{{ teammate.github_url }}">
56+
<iclass="fab fa-github"></i>
57+
</a>
58+
{% endif %}
59+
60+
{% if teammate.twitter_url %}
61+
<ahref="{{ teammate.twitter_url }}">
62+
<iclass="fab fa-twitter"></i>
63+
</a>
64+
{% endif %}
65+
66+
{% if teammate.linkedin_url %}
67+
<ahref="{{ teammate.linkedin_url }}">
68+
<iclass="fab fa-linkedin"></i>
69+
</a>
70+
{% endif %}
71+
</div>
1072
</div>
1173
</div>
1274
{% endmacro %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp