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
File details
Details for the file lektor-gravatar-0.1.2.tar.gz
.
File metadata
- Download URL: lektor-gravatar-0.1.2.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d75e67d0ecd64b4f6525c46dda55e4fcc3a0011debde741bb0c8a9068751e676 |
|
MD5 | 61adaa7d3ca37516aaccfc9692142087 |
|
BLAKE2b-256 | 6b62c47ffa132b7795ab100064a588f980ddad5f4511e37a04010fd3402d3213 |
File details
Details for the file lektor_gravatar-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: lektor_gravatar-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a009df67723461d2b9425dac3dc5b56068a53f98148e996073f5c01ecf51166 |
|
MD5 | 109ef964b2652863e29b8bdfe8ab0748 |
|
BLAKE2b-256 | 3b47cf780510fe6547ddb9c0c8813bc17edc3b5e99cf88ff8b1db79824831202 |