-
Notifications
You must be signed in to change notification settings - Fork 0
/
members.html
67 lines (66 loc) · 2.13 KB
/
members.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
layout: page
title: Members
permalink: /members/
---
<section id="members" class="page-section">
<div class="container">
{% assign column_counter = 0 %}
{% for post in site.categories.members reversed %}
{% if column_counter == 3 %}
</div>
{% assign column_counter = 0 %}
{% endif %}
{% if column_counter == 0 %}
<div class="row">
{% endif %}
<div class="col-md-4">
{% assign column_counter = column_counter | plus: 1 %}
<section class="member">
<h3 class="member-name">{{ post.title }}</h3>
{% if post.photo %}
<div class="member-photo">
{% if post.photo contains 'http://' %}
<img src="{{ post.photo }}" alt="{{ post.title }}">
{% else %}
<img src="/images/{{ post.photo }}" alt="{{ post.title }}">
{% endif %}
</div>
{% endif %}
<div class="member-bio">
{{ post.content }}
</div>
<footer class="member-footer">
<ul class="list-unstyled">
{% if post.website %}
<li>
<a href="{{ post.website }}">
<i class="fa fa-external-link-square"></i>
Visit web site
</a>
</li>
{% endif %}
{% if post.github %}
<li>
<a href="https://github.com/{{ post.github }}">
<i class="fa fa-code"></i>
View Github profile
</a>
</li>
{% endif %}
{% if post.twitter %}
<li>
<a href="http://www.twitter.com/{{ post.twitter }}">
<i class="fa fa-twitter"></i>
@{{ post.twitter }}
</a>
</li>
{% endif %}
</ul>
</footer>
</section>
</div>
{% endfor %}
</div>
</div>
</section>