Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Lektor plugin to add Creative Commons license to your pages

Project description

Lektor Creative Commons

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

Lektor plugin to add Creative Commons license to your pages


On your templates use:

<div class="license">{{ render_cc_license(type, size, template, caller) }}</div>
  • type is a string with the license type (e.g.: 'by', 'by-sa', 'by-nc-sa').
  • size is an optional parameter with the size 'normal' or 'compact'. It defaults to 'normal'.
  • template is an optional parameter with the template 'full', 'image-only' or 'text-only'. It defaults to 'full'.
  • caller is an optional parameter that you can pass an callable to mount your own template.


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

Internationalization support

This plugin has support to internationalization, and changes it language based on .lektorproject file. The Current supported locales are:

  • en
  • pt_BR

Any other locale will default to en (English).

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
lektor_creative_commons-0.4.0-py2.py3-none-any.whl (6.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jun 23, 2018
lektor-creative-commons-0.4.0.tar.gz (4.1 kB) Copy SHA256 hash SHA256 Source None Jun 23, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page