Skip to main content

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lektor-gravatar-0.1.2.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

lektor_gravatar-0.1.2-py2.py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page