forked from varia/varia.website
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mb@mb
04c2824180
|
7 years ago | |
---|---|---|
.. | ||
Readme.rst | 7 years ago | |
__init__.py | 7 years ago | |
gravatar.py | 7 years ago |
Readme.rst
Gravatar
--------
This plugin assigns the ``author_gravatar`` variable to the Gravatar URL and
makes the variable available within the article's context. You can add
``AUTHOR_EMAIL`` to your settings file to define the default author's email
address. Obviously, that email address must be associated with a Gravatar
account.
Alternatively, you can provide an email address from within article metadata.
In reSTructuredText::
:email: john.doe@example.com
In Markdown::
Email: john.doe@example.com
If the email address is defined via at least one of the two methods above, the
``author_gravatar`` variable is added to the article's context. For Markdown,
it is critical that the 'E' in ``Email`` is capitalized.