Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 40 lines (27 sloc) 1.115 kb
96684f9 @paltman 0.1 - Initial commit
paltman authored
1 ========
2 robotars
3 ========
34b63dc @justinabrahms Documentation for the project as a whole.
justinabrahms authored
4
02d7fe3 @paltman Update README.rst
paltman authored
5 .. image:: https://img.shields.io/travis/eldarion/robotars.svg
6 :target: https://travis-ci.org/eldarion/robotars
7
8 .. image:: https://img.shields.io/coveralls/eldarion/robotars.svg
9 :target: https://coveralls.io/r/eldarion/robotars
10
11 .. image:: https://img.shields.io/pypi/dm/robotars.svg
12 :target: https://pypi.python.org/pypi/robotars/
13
14 .. image:: https://img.shields.io/pypi/v/robotars.svg
15 :target: https://pypi.python.org/pypi/robotars/
16
17 .. image:: https://img.shields.io/badge/license-BSD-blue.svg
18 :target: https://pypi.python.org/pypi/robotars/
19
20
34b63dc @justinabrahms Documentation for the project as a whole.
justinabrahms authored
21 Generate robot avatars with optional support for being a gravatar
22 fallback.
23
24 Usage:
25
26 ::
27
28 {% load robotars_tags %}
29 {% robotar "bob@example.org" %}
30 {# with gravatar fallback and size #}
31 {% robotar "bob@example.org" "63x63" 1 1 %}
32
33 You can optionally pass the following arguments:
34
35 * size: The size of the robohash to be generated. eg "63x63"
36 * gravatar_fallback: whether robohash should be the fallback for the
37 gravatar service
38 * hashed: whether your user's email address should be obscured from
39 robohash.
Something went wrong with that request. Please try again.