-
Notifications
You must be signed in to change notification settings - Fork 0
This plugin provides a liquid filter for the mephisto blog engine for automated inclusion of gravatars into posts and comments
License
semantosoph/mephisto-gravatar-plugin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
h2. mephisto_gravatar_plugin h3. Installation Installation is real simple. Just download it and put it into your vendor/plugins folder. After that, restart your server. h3. Options You may configure the following options in lib/mephisto_gravatar_plugin.rb: * @default = 'identicon' # gravatar.com offers three default avatars: identicon, monsterid and wavatar@ * @rating = 'pg' # gravatar.com accepts the following values as rating: g (nicest), pg, r, x (baddest)@ h3. Usage You can stuff any email into the filter, in order to get its gravatar. Sample usages: * @{{ article.author.email | get_gravatar, 30 }}@ * @{{ comment.author_email | get_gravatar, 30 }}@ Note the object independence. An email address is all you need. You may deliver the desired size as an option to the filter. Leaving that out brings up the standard size of 80x80px. _Copyright (c) 2009 Semantosoph, released under the MIT license_
About
This plugin provides a liquid filter for the mephisto blog engine for automated inclusion of gravatars into posts and comments
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published