Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
srct.gmu.io
Commits
7a1e235d
Commit
7a1e235d
authored
Apr 05, 2018
by
Daniel W Bond
Browse files
Merge branch 'master' of git.gmu.edu:srct/srctweb
parents
90e6b8aa
2833de2a
Changes
4
Hide whitespace changes
Inline
Side-by-side
srctweb/_data/people.json
View file @
7a1e235d
...
...
@@ -435,4 +435,12 @@
"status"
:
false
}
},
{
"name"
:
"Ashlyn Gill"
,
"email"
:
"agill15@gmu.edu"
,
"alum"
:
false
,
"exec"
:
{
"status"
:
false
}
},
]
srctweb/_pages/home.html
View file @
7a1e235d
...
...
@@ -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 1
0
1, come say hello!
</p>
participate and join. And if you're in CS 11
0
, come say hello!
</p>
</div>
<!-- Outreach & Community Image -->
...
...
srctweb/_pages/people.html
View file @
7a1e235d
...
...
@@ -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>
...
...
srctweb/_plugins/gravatar.rb
View file @
7a1e235d
# 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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment