A Liquid filter that outputs an MD5 hash
- Add
gem 'liquid-md5'
to your site's Gemfile and runbundle
- Add the following to your site's
_config.yml
:
gems:
- liquid-md5
{{ site.email | md5 }}
Can be useful for generating Gravatar URLs from email addresses.
http://gravatar.com/avatar/{{ site.email | downcase | md5 }}?s=144