Metadata-Version: 2.0
Name: lektor-creative-commons
Version: 0.3
Summary: Lektor plugin to add Creative Commons license to your pages
Home-page: https://github.com/humrochagf/lektor-creative-commons
Author: Humberto Rocha
Author-email: humrochagf@gmail.com
License: MIT
Platform: UNKNOWN

Lektor Creative Commons
=======================

|License: MIT| |Current version at PyPI| |Downloads per month on PyPI|

Lektor plugin to add Creative Commons license to your pages

Usage
-----

On your templates use:

::

    <div class="license">{{ render_cc_license(type, size) }}</div>

-  ``type`` is a ``string`` with the license type (e.g.: ``'by'``,
   ``'by-sa'``, ``'by-nc-sa'``).
-  ``size`` is an opitional parameter with the size ``'normal'`` or
   ``'compact'``. Default is ``'normal'``

Example
-------

::

    <div class="license">{{ render_cc_license('by-sa') }}</div>

.. |License: MIT| image:: https://img.shields.io/pypi/l/lektor-creative-commons.svg
   :target: https://github.com/humrochagf/lektor-creative-commons/blob/master/LICENSE
.. |Current version at PyPI| image:: https://img.shields.io/pypi/v/lektor-creative-commons.svg
   :target: https://pypi.python.org/pypi/lektor-creative-commons
.. |Downloads per month on PyPI| image:: https://img.shields.io/pypi/dm/lektor-creative-commons.svg
   :target: https://pypi.python.org/pypi/lektor-creative-commons


