Commit 7a1e235d authored by Daniel W Bond's avatar Daniel W Bond

Merge branch 'master' of git.gmu.edu:srct/srctweb

parents 90e6b8aa 2833de2a
......@@ -435,4 +435,12 @@
"status": false
}
},
{
"name": "Ashlyn Gill",
"email": "agill15@gmu.edu",
"alum": false,
"exec": {
"status": false
}
},
]
......@@ -128,7 +128,7 @@ jumbotron: true
the diversity of our membership. In working to benefit the whole Mason
community, we need input from as many of our diverse campus' perspectives as
possible. Women and students from minority groups are welcomed and encouraged to
participate and join. And if you're in CS 101, come say hello!</p>
participate and join. And if you're in CS 110, come say hello!</p>
</div>
<!-- Outreach & Community Image -->
......
......@@ -48,7 +48,7 @@ permalink: /people/
</thead>
<tbody>
{% for member in site.data.people %}
{% if member.alum == false %}
{% if member.alum == false and member.exec.position != 'Faculty Advisor' %}
<tr>
<td><img class="member-image" src="{{ member.email | get_gravatar }}" alt="gravatar image"></td>
<td class="align-middle">{{ member.name }}</td>
......
# from https://tlattimore.com/blog/using-gravatar-in-jekyll/
# modified from https://tlattimore.com/blog/using-gravatar-in-jekyll/
require 'digest/md5'
module Jekyll
module GravatarFilter
# Add our new liquid filter.
def get_gravatar(input)
"//www.gravatar.com/avatar/#{hash(input)}"
"//www.gravatar.com/avatar/#{hash(input)}?d=mm"
end
private :hash
......@@ -18,4 +18,4 @@ module Jekyll
end
end
Liquid::Template.register_filter(Jekyll::GravatarFilter)
\ No newline at end of file
Liquid::Template.register_filter(Jekyll::GravatarFilter)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment