Generate md5 hash for gravatar with liquid filters
Gravatar URL’s are generated by creating a hash
from your email address
. Here we are going to create a liquid-filter
for this.
So, Create a gravatar.rb
file in your _plugins
directory with the following code.
So now add an image tag to authors profile and use our liquid filter to generate the md5 hash
.
Now rebuild the website and you will see your gravatar onto screen.
References