Place gravatar.rb into your site's _plugins
directory
Just use {{ '[email protected]' | gravatar }}
. It'll return the link to your Gravatar.
<figure>
<img src="{{ '[email protected]' | gravatar }}" alt="My beautiful face.">
</figure>
Go into gravatar.rb
and edit line 6. Change ?s=600
to ?s=[your-size-here]
. If your Gravatar is a high-res image, you can use a relatively large size. If it's a low-quality image, do whatever you want. I don't care.