Skip to content

A new filter for Jekyll that parses your email address and returns the link to your Gravatar.

License

Notifications You must be signed in to change notification settings

devinhalladay/jekyll-gravatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

jekyll-gravatar

Installation

Place gravatar.rb into your site's _plugins directory

Usage

Just use {{ 'me@example.com' | gravatar }}. It'll return the link to your Gravatar.

Example:

<figure>
  <img src="{{ 'me@example.com' | gravatar }}" alt="My beautiful face.">
</figure>

Changing avatar size

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.

About

A new filter for Jekyll that parses your email address and returns the link to your Gravatar.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages