|
1 | | -{% macrorender_teammate(teammate) %} |
| 1 | +{% macrorender_teammate_card(teammate) %} |
2 | 2 | <divclass="col-md-3 mb-5"> |
3 | 3 | <divclass="card border-light h-100"> |
4 | | -<ahref="{{ teammate.profile_url }}"> |
| 4 | +<ahref="{{ teammate._slug }}/"> |
5 | 5 | <imgclass="img-round card-img-top"src="{{ teammate.picture }}"alt=""> |
6 | 6 | </a> |
7 | 7 | <divclass="card-body"> |
8 | 8 | <h4class="card-title text-center">{{ teammate.name }}</h4> |
9 | 9 | </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> |
10 | 72 | </div> |
11 | 73 | </div> |
12 | 74 | {% endmacro %} |