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
9b60fb11
Commit
9b60fb11
authored
Aug 17, 2017
by
Michael T Bailey
Browse files
Add Hotfix for Gravatars
parent
ff1f7c1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
srctweb/_pages/people.html
View file @
9b60fb11
...
...
@@ -324,3 +324,13 @@ permalink: /people/
</table>
</div>
</div>
<script>
gravatars
=
$
(
"
img[alt='gravatar image']
"
)
gravatars
.
each
(
function
(
index
)
{
if
(
$
(
this
).
attr
(
'
src
'
).
includes
(
'
@gmu.edu
'
))
{
url
=
$
(
this
).
attr
(
'
src
'
)
var
md5
=
$
.
md5
(
url
)
$
(
this
).
attr
(
'
src
'
,
'
https://www.gravatar.com/avatar/
'
+
md5
)
}
});
</script>
\ No newline at end of file
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