No project description provided
Project description
A Lektor plugin providing a template filter that generates Gravatar URLs for an email address.
The implementation is drawn from the documentation on writing Lektor plugins; this package is provided for the convenience of others.
Usage
To add Gravatar support to your Lektor project, run:
$ lektor plugins add lektor-gravatar
Then, in a template, you can reference:
<img src="{{ object.email|gravatar }}" alt="gravatar">
where object.email is a variable in your context containing an email address.
Community
lektor-gravatar is part of the BeeWare suite. You can talk to the community through:
The pybee/general channel on Gitter.
Contributing
If you experience problems with this backend, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for lektor_gravatar-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e9405d67a534c9b81569b2c78c2f862104dd3691df402684d12ced6d5f34e88 |
|
MD5 | 1ee5b2f0fc623be24c71a8a150cbd8b1 |
|
BLAKE2b-256 | 468460a01fd0ce2c551fec2f520b9e3c8e54ab6e296a3e9b22d727a2a84294cd |