Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Remove gravatar and use the avatar url provided by GitHub API #245

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
.idea
personal_syte_settings.py
.elasticbeanstalk/
.vagrant/
.vagrant/
personal_static
personal_templates
2 changes: 1 addition & 1 deletion syte/static/templates/github-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="profile-info">
<button class="close" data-dismiss="modal">×</button>
<a href="http://github.com/{{ login }}" class="profile-avatar">
<img src="http://gravatar.com/avatar/{{ gravatar_id }}" alt="{{name}}" />
<img src="{{ avatar_url }}" alt="{{name}}" />
</a>
<div class="profile-name">
<h2><a href="http://github.com/{{ login }}">{{ name }}</a></h2>
Expand Down